Book description
Essential C# 5.0 is a well-organized, no-fluff guide to the latest versions of C# for programmers at all levels of C# experience. Fully updated to reflect new features and programming patterns introduced with C# 5.0 and .NET 4.5, this guide shows you how to write C# code that is simple, powerful, robust, secure, and maintainable. Microsoft MVP Mark Michaelis and C# principal developer Eric Lippert provide comprehensive coverage of the entire language, offering a complete foundation for effective software development.
The authors illustrate key constructs with succinct, downloadable code examples. Graphical mind maps at the beginning of each chapter outline the material that is covered and how individual topics interrelate. This edition also includes C# Coding Guidelines that call attention to today’s best practices for writing C# code. Separate indexes of C# versions 3.0, 4.0, and 5.0 make it easy to find answers specific to whatever version of C# you are using.
Throughout, topics intended for beginners and advanced readers are clearly marked. If you’re new to C#, this guide will help you start writing significant code quickly. If you’re an experienced C# developer, you’ll gain insight into today’s most complex programming challenges and techniques as you master key C# 5.0 innovations such as async/await pattern. No matter how advanced your skills become, you’ll come to rely on this indispensable reference.
Coverage includes
Mastering C# data types, operators, control flow, methods, and parameters
Making the most of C# object-oriented constructs, including classes, inheritance, interfaces, and more
Building reliable, effective exception handling into your code
Using generics, delegates, Lambda expressions, and events to reduce code complexity
Learning dynamic programming with reflection and attributes
Querying virtually any type of data using LINQ with Query Expressions
Creating custom collections that operate against business objects
Understanding the Common Language Infrastructure and C# in the context of the .NET 4.5 development platform
Taking advantage of declarative programming, embedded metadata, reflection, and attributes
Thoroughly mastering multithreading and synchronization, including the new async/await paradigm
Discussion of WinRT and programming in C# for Windows 8
Using P/Invoke, pointers, and direct memory manipulation to interoperate with code in other languages
Understanding how C# programs relate to the underlying runtime
Table of contents
- Title Page
- Copyright Page
- Microsoft Windows Development Series
- Dedication Page
- Contents at a Glance
- Contents
- Figures
- Tables
- Foreword
- Preface
- Acknowledgments
- About the Authors
- 1. Introducing C#
- 2. Data Types
- 3. Operators and Control Flow
- 4. Methods and Parameters
- 5. Classes
- 6. Inheritance
-
7. Interfaces
- Introducing Interfaces
- Polymorphism through Interfaces
- Interface Implementation
- Converting between the Implementing Class and Its Interfaces
- Interface Inheritance
- Multiple Interface Inheritance
- Extension Methods on Interfaces
- Implementing Multiple Inheritance via Interfaces
- Versioning
- Interfaces Compared with Classes
- Interfaces Compared with Attributes
- Summary
- 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. Thread Synchronization
- 20. Platform Interoperability and Unsafe Code
-
21. The Common Language Infrastructure
- Defining the Common Language Infrastructure (CLI)
- CLI Implementations
- C# Compilation to Machine Code
- Runtime
- Application Domains
- Assemblies, Manifests, and Modules
- Common Intermediate Language (CIL)
- Common Type System (CTS)
- Common Language Specification (CLS)
- Base Class Library (BCL)
- Metadata
- Summary
- A. Downloading and Installing the C# Compiler and CLI Platform
- B. Tic-Tac-Toe Source Code Listing
- C. Interfacing with Mutithreading Patterns Prior to the TPL and C# 5.0
- D. Timers Prior to the Async/Await Pattern of C# 5.0
- Index
- Index of 5.0 Topics
- Index of 4.0 Topics
- Index of 3.0 Topics
- IntelliTect
- Ad Page
Product information
- Title: Essential C# 5.0
- Author(s):
- Release date: November 2012
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780133117868
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# 5.0 Unleashed
Buy the print and get the eBook version for free! See inside the book for access …
book
C# 5.0 Pocket Reference
When you need answers for programming with C# 5.0, this practical and tightly focused book tells …
book
Essential C# 6.0
“ Welcome to one of the greatest collaborations you could dream of in the world of …