What is CLR ? Differentiate between CLR & CTS.
Answers were Sorted based on User's Feedback
Answer / narendra
Common Language Runtime. The CLR is a set of standard
resources responsible for execution of code developed using
.NET language. .Net compiler generates intermediate
language
(IL) which is then compiled using JIT to m/c code. It
provides access to common functionalities to all languages
via Base Class Libraries. CLR is replacement to win32
APICross-language integration, especially cross-language
inheritance. Automatic memory management (garbage
collection), which manages object lifetime so that
reference
counting is unnecessary. Self-describing objects, which
make
using Interface Definition Language (IDL) unnecessary. The
ability to compile once and run on any CPU and operating
system that supports the runtime.
Common Language Specification. This is a subset of the CTS
which all .NET languages are expected to support. The idea
is that any program which uses CLS-compliant types can
interoperate with any .NET program written in any language.
In theory this allows very tight interop between different
.NET languages - for example allowing a C# class to inherit
from a VB class.
| Is This Answer Correct ? | 11 Yes | 3 No |
Answer / sanjay
every language has a runtime.runtime is a environment .exemple jvm is a runtime for java.
CLR is a runtime which is used to convert MSIL(Microsoft intermediate language) code to operating system native code.
every language has class libraries. .netframework has BCL(base class libraries).cts(common type system) describes all the datatypes. evry .net laguages has to obey it
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / n.ravi
CLR:Common Language Runtime (CLR) is a managed execution environment that is part of Microsoft’s .NET framework. CLR manages the execution of programs written in different supported languages.
CLR transforms source code into a form of bytecode known as Common Intermediate Language (CIL). At run time, CLR handles the execution of the CIL code.
or
CLR stands for common language run-time and it is heart of .netframe work.all language have run-time and it is responsible of the run-time to take care of the code execution of the program and the responsibility of clr is
garbage collection, code access security,code verification,IL
CTS:CTS Stands for Common type system.that contains data type that common to all .net languages. for communicating two different languages Microsoft introduced CTS suppose in vb6 we have integer and "int" datatype in c++ will convert into system.int32
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / minhajul islam
CLR is the framework and heart of dot net. It Covert code
into IL then into machine language using Jit compiler
CTS is the subset of CLR and used to smoothly communicate
between different languages. Such as datatype int datatype
of vb6 and c++ converted into System.Int32 in CTS.
| Is This Answer Correct ? | 3 Yes | 3 No |
Answer / vijay
CLR is common language runtime is calle as CLR.
Diff:-
CLR is .net framwork enviornment run time.
CTS is cross language integration(interopability).
| Is This Answer Correct ? | 3 Yes | 4 No |
Answer / ronak panchal
CLR is common language runtime is calle as CLR.
The Difference is :
CLR is .net framwork enviornment run time.
CTS is cross language Intrropability.
Common Language Runtime. The CLR is a set of standard
resources responsible for execution of code developed using
.NET language. .Net compiler generates intermediate
language
(IL) which is then compiled using JIT to m/c code. It
provides access to common functionalities to all languages
via Base Class Libraries. CLR is replacement to win32
APICross-language integration, especially cross-language
inheritance. Automatic memory management (garbage
collection), which manages object lifetime so that
reference
counting is unnecessary. Self-describing objects, which
make
using Interface Definition Language (IDL) unnecessary. The
ability to compile once and run on any CPU and operating
system that supports the runtime.
Common Language Specification. This is a subset of the CTS
which all .NET languages are expected to support. The idea
is that any program which uses CLS-compliant types can
interoperate with any .NET program written in any language.
In theory this allows very tight interop between different
.NET languages - for example allowing a C# class to inherit
from a VB class.
| Is This Answer Correct ? | 1 Yes | 3 No |
Answer / skmdali786
Common Language Runtime. The CLR is a set of standard
resources responsible for execution of code developed using
.NET language. .Net compiler generates intermediate language
(IL) which is then compiled using JIT to m/c code. It
provides access to common functionalities to all languages
via Base Class Libraries. CLR is replacement to win32
APICross-language integration, especially cross-language
inheritance. Automatic memory management (garbage
collection), which manages object lifetime so that reference
counting is unnecessary. Self-describing objects, which make
using Interface Definition Language (IDL) unnecessary. The
ability to compile once and run on any CPU and operating
system that supports the runtime.
Common Language Specification. This is a subset of the CTS
which all .NET languages are expected to support. The idea
is that any program which uses CLS-compliant types can
interoperate with any .NET program written in any language.
In theory this allows very tight interop between different
.NET languages - for example allowing a C# class to inherit
from a VB class.
| Is This Answer Correct ? | 4 Yes | 8 No |
Define viewstate in .net?
Can I have a unique key as foreign key?
How do you handle session management in ASP.NET and How do you implement them. How do you handle in case of SQLServer mode?
Can viewstate be accessed in another page?
Difference between Array and ArrayList? How Array is benifitful than ArrayList?
What is application Object?
difference between Trace and Debug ?
2 Answers Accenture, HCL, Patni,
Can we have multiple web config files for an asp.net application?
What is use of <% %> in asp.net?
there is two functions function a and function b like fun a(){.... ..... } fun b() { } in function b i write the coding to add two numbers and i need to dispaly the sum result in function a with out using global variable. how we do?
what are the oops concepts are used in your project?
1 Answers AppShark, IBM, Kotak,
Can i have both C# and vb.net code in same assembly?how?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)