[Previous] [Contents] [Next]

Summary

The Common Type System is an important feature of the .NET Framework. The CTS defines the type system rules that applications must follow to run properly in the CLR. CTS types are divided into two categories: reference typesand value types . Namespaces can be used to define scope in an application.The benefits of a common type system include language interoperability, a singly rooted object hierarchy, and type safety. Types can be converted in C# through boxing and unboxing, and compatible types can be made to share characteristics and functionality through casting.

[Previous] [Contents] [Next]