C# Complex Types Introduction


This entry is part 1 of 8 in the series C# Complex Types

This post is an introduction to complex types, as opposed to simple (primitive) types. The post C# Introduction lists all of the C# series of posts we have at this site.

Examples of complex types are arrays, enumerations, structs and lists. With lists we have a whole separate series of posts on lists starting with the post called C# Lists Introduction.

C# provides a standard set of built-in numeric types to represent integers, floating point values, boolean expressions, text characters, decimal values, and other types of data. There are also built-in string and object types.

Custom types: You use the struct, class, interface, and enum constructs to create your custom types.

Object

Everything in C# .NET is an object. When you create an object in C# you always get

Series NavigationC# Arrays >>