Tuesday, November 22, 2011

Difference between CTS ans CLS

CTS And CLS are the major components through which the interoperability is acheived in .Net Framework. CLS ( Common Language Specification) specifies some set of rules for all the .Net Compilers.

In this process it makes use of CTS(Common Type System) which is a subset OF CLS.CTS consists of types ( both Value-Type And Referrence Types).

To make clear about the use of CTS:

If we are declaring a INTEGER Type in VB.NetDim I As Integer If we are declaring the same INTEGER Type in C#.Netint i.

both of these are converted to the form i as int32 so, irrespective of the language written in they are convreted to Intermediate Language which CLR can read and understand.

No comments:

Post a Comment