Common Type System

Explain Common Type System (CTS)?

E

Expert

Verified

Common Type System (CTS) is component of CLR through which .NET Framework offers support for multiple languages as it comprises type system that is common in all the languages. Two CTS-compliant languages do not need any type conversion while calling code written in one language from within the code written in other language. CTS offer data type’s base set for all languages supported by.NET Framework. This states that the size of integer and long variables is identical through all .NET-compliant programming languages. Though, every language are using aliases for the base data types provided by CTS. For instance, CTS uses the data type system “Int32” to signify a 4 byte integer value; on the other hand, Visual Basic uses the alias “Integer” for same; whereas, C# uses the alias “Int”. This is done for the purpose of clarity and simplicity.

   Related Questions in DOT NET Programming

©TutorsGlobe All rights reserved 2022-2023.