CLR, CTS and CLS


 WHAT IS THE COMMON LANGUAGE RUNTIME (CLR)?

o        It is the execution engine for .NET Framework applications.

o        It is the heart or backbone of the .NET.

o        It's is the runtime engine provided by the .NET framework.

    It provides an infrastructure for run programs and allows them to communicate with other parts of the .NET framework.

It provides a number of services, including the following:

o                        Code loading and execution

o                        Application memory isolation

o                        Verification of type safety

o                        Conversion of IL to native code

o                        Access to metadata

o                        Managing memory for managed objects

o                        Enforcement of code access security
o                        Exception handling, including cross-language exceptions

 WHAT IS THE COMMON TYPE SYSTEM (CTS)?

o        CTS allow programs written in different programming languages to easily share information.
o        A class written in C# should be equivalent to a class written in C#.NET.
o        Languages must agree on the meanings of these concepts before they can integrate with one another.
o        CTS forms a subset of CLS. This implies that all the rules that apply to CTS apply to CLS It defines rules that a programming language must follow to ensure that objects written in different programming languages can interact with eah other.

o        CTS provide cross language integration.
o        The common type system supports two general categories of types:
1.       Value types
2.       Reference types Value types
o        Store directly data on stack. In built data type.
o        Example: dim a as integer
o        Reference types  Store  a reference to the value's    memory address, and    are allocated on the heap.
o        Example: Hello a = new Hello();

 WHAT IS THE COMMON LANGUAGE SPECIFICATION (CLS)?

o        CLS includes basic language features needed by almost all the applications.
o        It serves as a guide for library writers and compiler writers.

o        The Common Language Specification is a subset of the common type system.

o        The Common Language Specification is also important to application developers who are writing code that will be used by other developers.
 

No comments:

Post a Comment

=>Advanced Java Programming (J2EE)

1.  Syllabus 2. Unit Wise Question/Material 3. Paper 4. Previous Paper