ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  Dot Net  >>  Dot Net AllOther
 
 


 

 
 Dot Net Framework interview questions  Dot Net Framework Interview Questions
 Dot Net Remoting interview questions  Dot Net Remoting Interview Questions
 Dot Net WindowsForms interview questions  Dot Net WindowsForms Interview Questions
 Dot Net General interview questions  Dot Net General Interview Questions
 Dot Net AllOther interview questions  Dot Net AllOther Interview Questions
Question
what are clr,cls,cts?what is .net framework?
 Question Submitted By :: Raghu_113
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what are clr,cls,cts?what is .net framework?
Answer
# 1
.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 ?    11 Yes 0 No
Susant
[Infitech Global]
 
  Re: what are clr,cls,cts?what is .net framework?
Answer
# 2
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 ?    4 Yes 0 No
Nazrul.nazi
[Usher Infotech]
 
 
 
  Re: what are clr,cls,cts?what is .net framework?
Answer
# 3
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 ?    0 Yes 0 No
Anirudh Girey
 

 
 
 
Other Dot Net AllOther Interview Questions
 
  Question Asked @ Answers
 
What is the difference between abstract class and Interface? Give an example how will u write an abstract class using .NET Framework T3-Softwares4
Explain in-proc,out-proc and sql server. Ness-Technologies3
What does the "EnableViewState" property do? Why would I want it on or off?  1
Which tool you will use to deploy a windows service Fulcrum-Logic1
Can you give an example of when it would be appropriate to use a web service as opposed to a non-serviced .NET component  1
how to make and display a form without title bar? Six-Sigma1
How many types of assemblies are there in the visual studio.net? Six-Sigma1
how to find the 2nd higgest salary in the column for example take table name is employee? And also find bottom 2nd lowest salary ? GeoTechnology6
IN C# if we click a field in the dropdownlist then i have to get the respected field details in the next textbox..........  2
1. How to restrict a class from allowing to create only one object. I.e., one should be allowed to create only one object of the class type. 247Customer1
what is a tool tip Six-Sigma2
what are clr,cls,cts?what is .net framework? Six-Sigma3
how to manage session in webgarden ? Ness-Technologies2
What is ITIL? What is the use of ITIL and how it works? IBM1
can any one urls for learning .net(which is written in simple english)  1
what is web service?  1
how do you hide maximize,minimize and close box at the form title bar? Six-Sigma1
How can u manage state ? Ness-Technologies1
What is the difference between SAX Parser and DOM Parser? TCS1
what is the difference between asp and asp.net Six-Sigma1
 
For more Dot Net AllOther Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com