Use this space to put some text. Update this text in HTML

468x60 banner ad

Advertise with Us

Powered by Blogger.
Showing posts with label Common Type System(CTS). Show all posts
Showing posts with label Common Type System(CTS). Show all posts

Thursday 28 January 2016

What is Common Type System(CTS)?


1. It has pre-defined data type that is available in IL. It is strongly type because all the language code is compiled in dot net domain, it provides equivalent data type for other language data type.


2. CTS stands for Common Type System. It defines the rules which Common Language Runtime follows when declaring, using, and managing types

Example:

The visual basic data type is integer its equivalent data type in C# is int32.  

The common type system performs the following functions:

1.      It enables cross-language integration, type safety, and high-performance code execution.
2.      It provides an object-oriented model for implementation of many programming languages.
3.      It defines rules that every language must follow which runs under .NET framework. It ensures that objects written in different .NET Languages like C#, VB.NET, F# etc. can interact with each other.



CTS are categories into two types-

1. Value Type
2. Reference Type