The Common Type System

The Common Type System specifies the types supported by the CLR. The types specified by the CLR include

  • Classes— The definition of what will become an object; includes properties, methods, and events

  • Interfaces— The definition of the functionality a class can implement, but does not contain any implementation code

  • Value Types— User-defined data types that are passed by value

  • Delegates— Similar to function pointers in C++, delegates are often used for event handling and callbacks

The type system sets out the rules that language compilers must follow to produce code that is cross-language–compatible. By following the type system, vendors can produce code that is guaranteed to work with code from other languages and other compilers ...

Get A Programmer's Introduction to Visual Basic® .NET 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.