What is CTS, CLS and CLR ?
Answer Posted / shekar
To establish a framework that helps enable cross-language integration, type safety, and high performance code execution .
To provide an object-oriented model that supports the complete implementation of many programming languages.
To define rules that languages must follow, which helps ensure that objects written in different languages can interact with each other.
The CTS also defines the rules that ensures that the data types of objects written in various languages are able to interact with each other.
The CTS also specifies the rules for type visibility and access to the members of a type, i.e. the CTS establishes the rules by which assemblies form scope for a type, and the Common Language Runtime enforces the visibility rules.
The CTS defines the rules governing type inheritance, virtual methods and object lifetime.
Languages supported by .NET can implement all or some common data types
The Common Language Infrastructure is an open specification developed by Microsoft and standardized by ISO[1] and ECMA[2] that describes the executable code and runtime environment that form the core of the Microsoft .NET Framework and the free and open source implementations Mono and Portable.NET. The specification defines an environment that allows multiple high-level languages to be used on different computer platforms without being rewritten for specific architectures.
The Common Language Runtime (CLR) is the virtual machine component of Microsoft's .NET framework and is responsible for managing the execution of .NET programs. In a process known as just-in-time (JIT) compilation, the CLR compiles the intermediate language code known as Common Intermediate Language (CIL) into the machine instructions that in turn are executed by the computer's CPU. The CLR provides additional services including memory management, type safety and exception handling. All programs written for the .NET framework, regardless of programming language, are executed by the CLR. It provides exception handling, Garbage collection and thread management.
The CLR is Microsoft's implementation of the Common Language Infrastructure (CLI) standard.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Which data type does the rangevalidator control support?
What is bound controls
Is asp.net outdated?
What is the difference between session and viewstate in asp.net?
What is http response header?
What are app services?
Can we use a static function with a non-static variable?
How to make sure that contents of an updatepanel update only when a partial postback takes place (and not on a full postback)?
Why asp.net is better than php?
How are sessions stored?
What is the life-span of the items in the viewstate?
Explain managed code an un-managed code.
Explain the server control events of asp.net ?
What is content page in asp net?
What is asynchronous call?