What is "Common Type System" (CTS)?

CTS defines all of the basic types that can be used in the .NET Framework and the operations performed on those type.

All this time we have been talking about language interoperability, and .NET Class Framework. None of this is possible without all the language sharing the same data types. What this means is that an int should mean the same in VB, VC++, C# and all other .NET compliant languages. This is achieved through introduction of Common Type System (CTS).

Showing Answers 1 - 1 of 1 Answers

samiksc

  • Jan 13th, 2006
 

CTS, common type system is the one which brings all .net languages data types on a common platform. It defines types like System.Int16, System.Int32 etc. A language may map 'int' to System.Int16 while another may map its 'int' data type to System.Int32.

Because all data types from all languages are mapped to common .net datatypes we can integrate code written in different .net languages into one assembly.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions