What is the difference between CLS and CTS

 Posted by deccansoft on 9/25/2010 | Category: C# Interview questions | Views: 1243

When different languages are integrated and want to communicate, it is
certain that the languages have their own data types and different
declaration styles. CTS define how these different variables are
declared and used in run time. E.g. VB offers an Integer data type while
C++ offers long data type. Using CTS, these data types are converted to
System32 which itself a data type of CLS.


Any language(s) that intend to use the Common Language Infrastructure
needs to communicate with other CLS-Compliant language. This
communication is based on set of rules laid by CLS. These rules define a
subset of CTS.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response