Common Type System (CTS) is a fundamental concept in the overall application programming model in .NET, allowing true interoperability with system- and user -defined data types between .NET programming languages. CTS provides language interoperability beyond what had been accomplished by COM, providing capabilities such as inheritance of a class written in one programming language by another programming language and support for exceptions and events across language boundaries. You will learn more about interoperability in Chapter 3, "Programming with .NET." CTS defines value types and reference types:
However, everything in .NET is an object deriving from System.Object, and value types can be boxed or unboxed into their corresponding heap-based objects. |