Understanding the Common Type System (CTS)

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:

  • Value types derive from System.ValueType; they typically use a small memory (primitives such as integers, ...

Get Microsoft® .NET Kick Start now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.