Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer


The C# typing system contains the following categories:

Variables of the value types store data, while those of the reference types store references to the actual data. Reference types are also referred to as objects. Pointer types can be used only in unsafe mode.

It is possible to convert a value type to a reference type and vice versa, by using boxing and unboxing.

This section also introduces the void type.

See Also

C# Keywords | Types Reference Tables

© 2015 Microsoft