Managed Services

The Common Language Runtime (CLR) provides several managed services including exception handling, security, automatic lifetime management, debugging and profiling, and interoperability. The reason these services are called managed services is to differentiate them from how these tasks are handled in other languages. For example, the C programming language can be considered an unmanaged environment because of its comparatively low type safety and capability to wreak havoc throughout a system with pointers. The term managed indicates that the CLR has much more control over how a program is executed and what it is allowed to do.

Exception Handling

CLR exception handling services include both typed and filtered exceptions. C# allows ...

Get C# Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.