Chapter 1. C# 4.0 Pocket Reference

C# is a general-purpose, type-safe, object-oriented programming language whose goal is programmer productivity. To this end, the language balances simplicity, expressiveness, and performance. The C# language is platform-neutral, but it was written to work well with the Microsoft .NET Framework. C# 4.0 targets .NET Framework 4.0.

Note

The programs and code snippets in this book mirror those in Chapters 2–4 of C# 4.0 in a Nutshell (Joseph and Ben Albahari, O’Reilly) and are all available as interactive samples in LINQPad. Working through these samples in conjunction with the book accelerates learning, in that you can edit the samples and instantly see the results without needing to set up projects and solutions in Visual Studio.

To download the samples, click the Samples tab in LINQPad and click “Download more samples.” LINQPad is free—go to http://www.linqpad.net.

Get C# 4.0 Pocket Reference, 3rd 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.