Book description
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, multithreading, 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 methods, 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.
Table of contents
- Title Page
- Copyright Page
- Contents at a Glance
- Contents
- Praise for Essential C# 4.0
- Contents of C# 4.0 Topics
- Figures
- Tables
- Foreword
- Preface
- Acknowledgments
- About the Author
- 1. Introducing C#
- 2. Data Types
- 3. Operators and Control Flow
- 4. Methods and Parameters
- 5. Classes
- 6. Inheritance
- 7. Interfaces
- 8. Value Types
- 9. Well-Formed Types
- 10. Exception Handling
- 11. Generics
- 12. Delegates and Lambda Expressions
- 13. Events
- 14. Collection Interfaces with Standard Query Operators
- 15. LINQ with Query Expressions
- 16. Building Custom Collections
- 17. Reflection, Attributes, and Dynamic Programming
- 18. Multithreading
- 19. Synchronization and More Multithreading Patterns
- 20. Platform Interoperability and Unsafe Code
- 21. The Common Language Infrastructure
- A. Downloading and Installing the C# Compiler and the CLI Platform
- B. Full Source Code Listings
- C. Concurrent Classes from System.Collections.Concurrent
- D. C# 2.0 Topics
- E. C# 3.0 Topics
- F. C# 4.0 Topics
- Index
Product information
- Title: Essential C# 4.0
- Author(s):
- Release date: March 2010
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780321695635
You might also like
book
Art of Computer Programming, The: Volume 1: Fundamental Algorithms
&>The bible of all fundamental algorithms and the work that taught many of today's software developers …
book
Head First Design Patterns, 2nd Edition
You know you don’t want to reinvent the wheel, so you look to design patterns—the lessons …
book
Software Engineering at Google
Today, software engineers need to know not only how to program effectively but also how to …
book
C# in Depth, Fourth Edition
C# in Depth, Fourth Edition is a revised edition of the bestseller written by C# legend …