What is CTS, CLS and CLR ?

Answer Posted / rohit agarwal

CTS
.Net also defines a Common Type System (CTS). Like CLS, CTS
is also a set of standards. CTS defines the basic data
types that IL understands. Each .Net compliant language
should map its data types 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, an
integral data type of 32 bits (4 bytes) which is mapped by
C# through int and VB.Net through its Integer data type.
-------------

CLR
One of the most important component of .net f/w is clr
better known as runtime it provides functionalities such as
memory management , exception handling ,debugging ,code
execution verification compilation etc.
The runtime manages the execution of code .hence the code
that work on the clr is called MANAGED CODE
-----------
CLS
Microsoft has released a small set of specifications that
each language should meet to qualify as a .Net Compliant
Language. As IL is a very rich language, it is not
necessary for a language to implement all the
IL functionality; rather, it merely needs to meet a small
subset of CLS to qualify as a .Net compliant language. CLS
basically addresses language design issues and lays down
certain standards. For instance, there shouldn't be any
global function declarations, no pointers, no multiple
inheritance and things like that.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the postback property in asp.net?

696


Is oauth for authentication or authorization?

750


How does u get record no from 5 to 15 from a dataset of 100 records?

704


What is the difference between WindowsDefaultLocation and WindowsDefaultBounds?

891


What is the concepts of globalization and localization in .net?

706






Explain how caching in asp.net 2.0 is different from caching in asp.net 1.1?

700


How do you do Client-side validation in .Net?

788


How can we call webservices in Banking Applications? and where we are using it?

1715


what is loosely coupled solution? How it can be used?

744


What is Forms Authentication in ASP.NET?

754


What is data caching?

737


Which property needs to be set for script manager control to extend the time before throwing time out expection if no response is received from the server?

715


How many types of validators are there in asp net?

672


Error : The operation couldn’t be performed because ole db provider sqlncli10 for linked server was unable to begin a distributed transaction.00000110 oledb provider for linked server returned message the partner transaction manager has disabled its support for remote/network transactions. I can able to execute the stored procedure in sql server but when i run the web page getting error like above. I did all the configuration. what is the solution?

2158


What are the two Layouts supported by a Web form in ASP.NET?

755