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
In which event of the page viewstate is available?
How to count the number of objects present in a web page? How to count the number of radio buttons in a web page?
Explain the use of errorprovider control in .net?
Explain security types in asp.net?
What is user control in asp.net?
List the major built-in objects in asp.net?
Why does my asp.net file have multiple tag with runat=server?
What are the server controls in asp.net?
Explain the code Access Security (CAS) in .net Framework?
How many types cache in asp net?
What is http request and response?
How you will manage the state of ASP.NET controls?
What is difference between session and viewstate?
Can you explain the importance of finalize method in .net?
How can we create custom controls in asp net?