.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Imran Ghani
Sohaib Khalid

Home >> Forum >> .NET Framework >> Post New QuestionBookmark and Share Subscribe to Forum

Explain CTS?

Posted By: Ramesh P     Posted Date: October 16, 2010    Points:2   Category :.NET Framework
what is CTS?

Author: Syed Shakeer Hussain             
Posted Date: October 16, 2010     Points: 5   


.Net framework supports multiple languages, and different language defines their primitives' data types in different formats.

For examples:
C# defines and integer variable :
int i;

Where as VB.Net defines an integer variable :
Dim i as integer

Microsoft tries to convert these data types into a generic data types. So that different codes written in different languages code are converted into language independent code, due to this CTS is created.CTS contain different data type's specification to be used in our code. For example: the primitives' integer data type is known as Int32, in CTS. All data types are derived from object data types from which the value types and reference types are defined.

Author: Dhivakaran             
Posted Date: October 19, 2010     Points: 5   


CTS: Common Type System, In order that two language communicate smoothly CLR has CTS

Example :
In VB you have "Integer" and in C++ you have "long" these datatypes are not compatible so the
interfacing between them is very complicated. In order to able that two different languages can communicate Microsoft introduced Common Type System. So "Integer" datatype in VB6 and
"int" datatype in C++ will convert it to System.int32 which is datatype of CTS. CLS which is
covered in the coming question is subset of CTS.

Dhivakaran T
Author: Jegan R             
Posted Date: November 01, 2010     Points: 5   

CTS = Common Type System. This is the range of types that the .NET runtime understands, and therefore that .NET applications can use. However note that not all .NET languages will support all the types in the CTS. The CTS is a superset of the CLS.

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend