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

Answers were Sorted based on User's Feedback



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

Answer / susant

.NET Framework?

The Microsoft .NET Framework is a platform, for building,
deploying, and running Web Services and applications. It
provides a highly productive, standards-based, multi-
language environment for deployment and operation of
Internet-scale applications. The .NET Framework consists of
two main parts: Common Language Runtime (CLR) and the Base
Class Libraries (BCL).

We can create 3types of application in .Net framework
1) Windows Application
2) Console Application
3) Web Application



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 ?    100 Yes 7 No

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

Answer / nazrul.nazi

clr-
It is common Language runtime.which is Engine of .net
platform.which is responsible for execution of code,cross
language interoprebility,garbage
Collection,Security,Exception Handling.

cls(Common language specification)->set of rule which follow
by different languages
ex-like every language used variable
declaration,exception handling,events.

cts(Common type specification) it is subset of cls.It is set
of common datatype which is used in different languages.
ex
VB-Integer
C# -Int
But cts has Int32 which is applicable for all languages.
.Framework->
set of tools(CLR,BCL,Ado.Net etc) which used to
develop and execute an application.

Is This Answer Correct ?    37 Yes 12 No

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

Answer / 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

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

Answer / rajesh

clr -> Common lang Runtime , it convert source code to IL
code using "Jit" Complier it convert il code to m/c

Is This Answer Correct ?    15 Yes 6 No

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

Answer / jay shankar

clr- clr is mainly responsible for executing to application
your code
cls - cls is stands for common language specification
ls defines the rules and standards to which language
must adher to in order to compatible with other .net languge

cts- common type system is responsible for convert to ane
language two another language

Is This Answer Correct ?    9 Yes 2 No

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

Answer / jailendra kumar

CLR is the engine of .net Framwork it's manage compiling
code executing code and make him able to understand to
machin ,

it has two parts
(I)CTS (Common Type system)
CTS manage the data type Like integer one langauge to
another it's make to usable

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More Dot Net AllOther Interview Questions

how to use custom field validation

0 Answers   PCS, Prithvi,


How can implement drag and drop using atlas?

0 Answers  


What are end points, contract, address and bindings?

0 Answers  


how do u achieve multilevel inheritance in .NET ?

9 Answers   Accenture, Ness Technologies, SteelWedge,


Explain what does the term "green architecture" mean? : .NET Architecture

0 Answers  






WHAT IS COMPUTER

7 Answers   NICE, TVS,


What is WPF and WCF?

0 Answers   Infosys,


while developing a asp.net 2.0 ajax application how to maitain and check the ACID property for each transaction

2 Answers   Aviva,


Explain a .net mobile example with details? : Microsoft dot net mobile

0 Answers  


Explain some of the disadvantages due to microsoft.net?

0 Answers  


What is the application frame host?

0 Answers  


what is page_directive

1 Answers   BoA, ICT, PCS,


Categories