Define Common Type System

What do you understand by Common Type System (CTS)?

E

Expert

Verified

CTS is the part of CLR by which .NET Framework offers support for several languages since it holds a type system which is common among all the languages. Two CTS-compliant languages do not need type conversion while calling the code which is written in one language from within the code written in a different language. It provides a base set of data types for every languages sustained by.NET Framework. This means that the size of integer and long variables is similar across all .NET- compliant programming languages. However, every language utilizes aliases for the base data types given by CTS. For instance, CTS utilizes the data type system int32 to symbolize a 4 byte integer value; on the other hand, Visual Basic utilizes the alias integer for the same; while, C# utilizes the alias int. This is made for the sake of simplicity and clarity.

   Related Questions in DOT NET Programming

©TutorsGlobe All rights reserved 2022-2023.