What is CLR (Common Language Runtime)?

CLR is the main part of the Microsoft.NET Framewrok, which is used for the execution for the any .net application. It benefits from features such as cross-language integration, cross-language exception handling, enhanced security, versioning and deployment support, a simplified model for component interaction, and debugging and profiling services.
The runtime automatically handles object layout and manages references to objects, releasing them when they are no longer being used. Objects whose lifetimes are managed in this way are called managed data. Garbage collection eliminates memory leaks as well as some other common programming errors. If your code is managed, you can use managed data, unmanaged data, or both managed and unmanaged data in your .NET Framework application. Because language compilers supply their own types, such as primitive types, you might not always know (or need to know) whether your data is being managed.

CLR has a set of Services calles

1) Garbage Collection.
2) Thread Management.
3) Code Verification.
4) Code Access Security.
5) Exception Handling.
6) Security.

0 comments:

Post a Comment