Chapter 36. The Common Language Runtime

In This Chapter

  • Managed Execution

  • Metadata

  • Managed Services

The Common Language Runtime (CLR) is the virtual machine environment that all .NET languages run in. It is a managed execution environment, which provides several services for running programs.

The specific services include security, type system safety, memory management, a common language environment, managed and unmanaged code interoperability, just-in-time (JIT) code activation, and the capability to be hosted within other environments.

Most of the topics associated with the CLR have been discussed in other chapters. The subjects in this chapter flesh out the remaining subject matter that doesn't fit well anywhere else.

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.