The Common Type System and the Data Type that .Net Uses

Filed in ASP.NETTags: , , , ,

Because the .NET framework supports multiple languages within the platform, it defines a Common Type System (CTS). The CTS defines the basic data types that IL understands. Each .NET compliant language should map its data type to these standard data types. This makes it possible for the 2 languages to communicate with each other by passing/ receiving parameters to and from each other. For example: CTS defines a type, Int32, as integral data type of 32 bits (4 byte) which is mapped by C# through int and through its Integer data type.

In this article we will see each implicit data type in C# has its corresponding .Net type. We will see in the following table that how the IL converts the data type of C# into .NET framework.


Author Bio : and

Sourabh Sharma (150 Posts)

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>