Sunday, 8 January 2012

Common Type System(CTS)

Common Type System:

CTS describes full range of types that the .NET runtime uses and manages in runtime and provide cross language integration, type safety and high performance code execution.. However note that not all .NET languages support all the types in the CTS.CTS is strict type and code verification infrastructure and enable the managed code to consume other managed types and enforce strict fidelity and type safety.

Functions of CTS:
  • CTS provide an environment for the implementation of many programming languages. This environment is totally Object Oriented.
  • CTS defines a rule through which objects written in different languages can interact with each other.
  • CTS also defines rules through which data types of objects written in various languages can interact with each other.
  • Virtual method, type visibility and type governing rules are also described in CTS.

 The common type system supports two general categories of types:
·         Value types hold their data directly, and instances of value types are either allocated on the stack or allocated inline in a structure.
·         Reference types store a reference to the value's memory address, and are allocated on the heap.

1 comment:

  1. Nice article

    We can also submit our .net related article link on to improve traffic.

    Its kind of social networking for dotnet professionals