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 Difference between Production Serves and Development Servers? And Suppose, m adding/deleting C# file in a project based on the Specific Requirement. These Files are Automatically updated in Production Servers? So Which tool is needed to do This One?

1498


What is the use of service provider?

576


Explain what is postback in asp. Net?

543


What is web api and why to use it?

549


What is a 307 redirect?

497






Who is using asp.net?

495


What are session objects?

507


How do I debug an asp.net application that was not written with visual studio.net and that does not use code-behind?

541


What do you mean by role-based security?

564


What is difference between inproc and outproc?

651


What is css and what is it used for?

547


What are the session management techniques asp net?

551


Is there any property names “isnavigating”?

570


How would you implement inheritance using c#?

569


What is the usie of activex control in .net?

541