Posts tagged "data-type"

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

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.

Read More →

The User Defined Data Type – Enumeration Type and Structure Type

The User Defined data type are the type in which we can defined such data type according to our requirement. Some example of user defined data type are Enumeration and Structure Type.  Today we will discuss the user defined Data Types. In this article we will learn how to declare and define enumeration data type and structure data type. Also we will see that how we can access/ retrieve the values that are stored in these User defined Types. I hope that this will help you to learn something about Enumeration and Structure Type.

Read More →