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
Essential C# 2.0
A new edition of this title is available, ISBN-10: 0321533925 ISBN-13: 9780321533920 “ Essential C# 2.0 …
book
C# 4.0 Unleashed
C# 4.0 Unleashed is a practical reference focusing on the C# language and the .NET platform …
book
Beginning C# 3.0
Learn all the basics of C# 3.0 from Beginning C# 3.0: An Introduction to Object Oriented …
book
C# 4.0 How-To
Real Solutions for C# 4.0 Programmers Need fast, robust, efficient code solutions for Microsoft C# 4.0? …