what are clr,cls,cts?what is .net framework?

Answer Posted / anirudh girey

What is the common language runtime (CLR)?

The common language runtime is the execution engine
for .NET Framework applications. It provides a number of
services, including the following:
i) Code management (loading and execution)
ii) Application memory isolation.
iii) Version control.
iv) Conversion of IL to native code.
v) Access to metadata (enhanced type information)
vi) Garbage collection
vii) Enforcement of code access security.
viii) Exception handling, including cross-language
exceptions
ix) Interoperation between managed code.
x) Support for developer services (profiling,
debugging, and so on)



Parts of CLR (Common Language Runtime):
1. Common Type system (CTS)
2. Common Language Specification (CLS)
Q: What is the common type system (CTS)?
.Net framework supports multiple languages, and different
language defines their primitives’ data types in different
formats. For examples:
C# defines and integer variable : int i;
Where as VB.Net defines an integer variable: Dim i as
integer
Microsoft tries to convert these data types into a generic
data types. So that different codes written in different
languages code are converted into language independent
code, due to this CTS is created.
CTS contain different data type’s specification to be used
in our code. For example: the primitives’ integer data type
is known as Int32, in CTS. All data types are derived from
object data types from which the value types and reference
types are defined.
Q: What is the Common Language Specification (CLS)?
i) CLS stands for Common Language Specification
ii) CLS is subset CTS
iii) CLS allows developers, vendors, software
manufactures an opportunity to work with in a common set of
specification for language, data types.
iv) CLS defines the standard that the object must
contain in order to communicate with each other, in
homogeneous environment.

Is This Answer Correct ?    20 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how to develop mobile applications using microsoft mobile internet toolkit (mmit) or .net mobile? : Microsoft dot net mobile

500


What is the procedure on hardware that converts the ascii value to binary? : .NET Architecture

538


What is private constructor? And it's use?

634


readonly syntax ?

1404


if there are two application 1 and 2 having a variable x in both app if client1 changes value of x in 1 app client 2 want reads the value of x from 2 app what resultant value will he get

1856






What are the options provived by vss to the user? how it will help us while delevoping application?

1752


What is IL code, CLR, CTS, GAC & GC?

592


The maximum report processing jobs limit configured by your system administrator has been reached.How I can Solve this problem when i using crystal report to load from my application.

14060


How do you handle this COM components developed in other programming languages in .NET?

578


Explain some of the disadvantages due to microsoft.net?

537


Can you explain update progress control?

521


Explain the five stages in a dlx pipeline? : Dot net architecture

486


What is application frame host?

590


What is MS chart control in visual studio?

686


Explain the purpose of cache? : Dot net architecture

470