Skip to Content
Essential C# 4.0
book

Essential C# 4.0

by Mark Michaelis
March 2010
Intermediate to advanced
984 pages
21h 13m
English
Addison-Wesley Professional

Overview

Essential C# 4.0 is a well-organized,“no-fluff” guide to all versions of C# for programmers at all levels of C# experience. This fully updated edition shows how to make the most of C# 4.0’s new features and programming patterns to write code that is simple, yet powerful.

This edition contains two new chapters on parallel programming, multi­threading, and concurrency, as well as extensive coverage of new C# 4.0 features: dynamic typing, variance, optional/named parameters, and many other new topics.

Mark Michaelis covers the C# language in depth, illustrating key constructs with succinct, downloadable code examples. Graphical “mind maps” at the beginning of each chapter show what material is covered and how individual topics interrelate. Topics intended for beginners and advanced readers are clearly marked, and the book includes indexes of C# versions (2.0, 3.0, and 4.0), which make it easy for readers to reference topics specific to a given release of C#.

Following an introduction to C#, readers learn about 

  • Best practices for object-oriented programming in C#

  • C# primitive data types, value and reference types, implicitly typed variables, anonymous types, plus dynamic typing in C# 4.0

  • Methods and parameters–including extension methods, partial meth­ods, and C# 4.0’s optional and named parameters

  • Generics, concurrent collections, and custom collections with iterators

  • Delegates, events, and lambda expressions

  • Collection interfaces and standard query operators

  • Query expressions and the tree expressions on which LINQ providers are based

  • Reflection, attributes, and dynamic programming

  • Parallel Query Processing with PLINQ

  • Multithreaded programming with the Task Parallel Library

  • Platform interoperability and unsafe code

  • The Common Language Infrastructure that underlies C# 

  • Whether you’re just starting out, are an experienced developer moving to C#, or are a seasoned C# programmer seeking to master C# 4.0’s most valuable enhancements, Essential C# 4.0 will help you write high-quality, highly effective code.

    Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
    and much more.

    Read now

    Unlock full access

    More than 5,000 organizations count on O’Reilly

    AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

    QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
    Julian F.
    Head of Cybersecurity
    QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
    Addison B.
    Field Engineer
    QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
    Amir M.
    Data Platform Tech Lead
    QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
    Mark W.
    Embedded Software Engineer

    You might also like

    Essential C# 2.0

    Essential C# 2.0

    Mark Michaelis
    Essential C# 6.0

    Essential C# 6.0

    Mark Michaelis, Eric Lippert
    C# 5.0 Unleashed

    C# 5.0 Unleashed

    Bart De Smet
    C# 4.0 Unleashed

    C# 4.0 Unleashed

    Bart De Smet

    Publisher Resources

    ISBN: 9780321695635Purchase book