16Apr/100
.NET interview: What is a CLR (Common Language Runtime)?
Often there is a need for different languages to communicate with each other at run time. For e.g. A class may be written in one language and its derived class may be written in a different language. Common Language Runtime is a run time environment for .NET. These different languages are integrated and can communicate easily because language compilers and tools that target the runtime use a common type system defined by the runtime.
Features or Functionalities offered by CLR:-
- Garbage collection for managing life of objects.
- Enables Cross language inheritance as explained in example above.
- Syntax and keywords similar to C and C++