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
What’s the catch?
Explain code snippet to register exception filters from controller?
Explain how do you deploy your asp.net application?
Give a few examples of page life cycle events.
How can we access static variable?
What is the basic purpose of the required field validator? How can you use a required field validator to check that the user changes the initial value of a text box? a listbox?
What is Model-View-View Model?
6. Tell us about a time when you failed to meet a deadline. What were the repercussions?
What is the difference between WindowsDefaultLocation and WindowsDefaultBounds?
Explain the difference between asp.net mvc and asp.net webforms? : asp.net mvc
Can more than one person use the same login?
a)COM Callable Wrapper b)Runtime Callable Which one of the above is Win32 API in .Net?
a web application needs to be created to accept the product name and quantity of a toy from a customer. After the customer has entered the product name the application needs to display the discounted price of the product to the customer (company is offering 35% discount on all products). The application should allow the customer to select the product name from a list box. and also while i'm data binding to a label with custom data binding with some declarations : "The Discounted Price is "+((System.Convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)) - ((System.convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)*0.35)). Where i need to give this declaration in asp.net 2.0.
What is the equivalent of date() and time() in asp.net?
What is marshalling ? Is it a part of asp.net ?