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 |
What is application state?
How would ASP and ASP.NET applications run at the same time on the same server?
Why SessionID changes in every request in asp.net?
What are the 3 types of web?
What is the difference between a multi-layer and multi-tier applications?
How does dataset acts in a disconnected fashion ?
How do you pass session values from one page to another ?
Can we set master page as a start page?
Which methods validate all the controls on a page?
You ve defined one page_load event in aspx page and same page_load event in code behind how will prog run?
write a sample code make use of xmltext writer
I am using a range validator and want to use dd mm yyyy format for accepting dates. I get a fairly generic "can't do that" type exception when I use this format for setting the minValue or maxValue properties for the range validator. How can I force it to accept my format?
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)