CHAPTER 1

image

C# and the .NET Runtime and Libraries

If you are reading this chapter, my guess is that you are interested in learning more about C#. Welcome.

This book is primarily about the C# language, but before diving into the details, it is important to understand the basics of the environment in which C# code is written.

The C# compiler will take C# programs and convert them into an intermediate language that can be executed only by the .NET Common Language Runtime (CLR). Languages that target a runtime are sometimes known as managed languages1 and are contrasted with unmanaged languages such as C++ that do not require a runtime2 and therefore ...

Get A Programmer's Guide to C# 5.0, 4th Edition 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.