Book description
C# 4.0 Unleashed is a practical reference focusing on the C# language and the .NET platform as a whole. While covering the language in lots of detail, it also provides enough coverage of various popular .NET technologies and techniques (such as debugging) for the reader to be successful on the .NET platform. The in-depth coverage of the language features is crucial to the success of a developer. Knowing exactly where and why to use certain language features can boost efficiency significantly. This book differs from other works by going into enough depth on how things work, while not being a clone of the formal language specification. Concise anecdotes with concrete samples illustrate how certain language features behave, and also point out possible caveats in using them. On the side of platform coverage, the author provides a gentle introduction to the wide landscape of the .NET platform, following a logical structure that reflects the high-level architecture of an application: presentation, logic, data, connectivity, etc. In the .NET part of the book there's coverage of relevant new technologies such as cloud computing, modeling, and parallel programming - things that will gain much more attention moving forward.
Provides valuable insight into the C# language and the .NET Framework - not just "what" but also the "how" and "why" of the language and framework features
Covers using C# with new major technologies, such as cloud computing, SharePoint, and ASP.NET MVC
Author is Microsoft insider
Will be day and date with the release of C# 4.0
Table of contents
- Title Page
- Copyright Page
- Contents at a Glance
- Table of Contents
- About the Author
- Acknowledgments
- We Want to Hear from You!
- Reader Services
- Introduction
-
Part I. Introduction
-
Chapter 1. Introducing the .NET Platform
- Chapter 1. Introducing the .NET Platform
- A Historical Perspective
- A 10,000-Feet View of the .NET Platform
- The Common Language Infrastructure
- The Multilanguage Aspect of .NET
- Introducing .NET Assemblies
- The Common Type System Explained
- Executing Managed Code
- Diving into the Common Language Runtime
- The Base Class Library
- Summary
- Chapter 2. Introducing the C# Programming Language
- Chapter 3. Getting Started with .NET Development Using C#
-
Chapter 1. Introducing the .NET Platform
-
Part II. C#—The Language
- Chapter 4. Language Essentials
- Chapter 5. Expressions and Operators
- Chapter 6. A Primer on Types and Objects
- Chapter 7. Simple Control Flow
- Chapter 8. Basics of Exceptions and Resource Management
- Chapter 9. Introducing Types
- Chapter 10. Methods
- Chapter 11. Fields, Properties, and Indexers
- Chapter 12. Constructors and Finalizers
- Chapter 13. Operator Overloading and Conversions
- Chapter 14. Object-Oriented Programming
- Chapter 15. Generic Types and Methods
- Chapter 16. Collection Types
- Chapter 17. Delegates
-
Chapter 18. Events
- Chapter 18. Events
- The Two Sides of Delegates
- A Reactive Application
- How Events Work
- Raising Events, the Correct Way
- Add and Remove Accessors
- Detach Your Event Handlers
- Recommended Event Patterns
- Case Study: INotifyProperty Interfaces and UI Programming
- Countdown, the GUI Way
- Modern Approaches to Reactive Programming
- Summary
-
Chapter 19. Language Integrated Query Essentials
- Chapter 19. Language Integrated Query Essentials
- Life Without LINQ
- LINQ by Example
-
Query Expression Syntax
- Why Query Expressions?
- Getting Started
- Source Selection Using a from Clause
- Projection Using the Select Clause
- Filtering Using a where Clause
- Ordering Using the orderby Keyword
- Grouping Using the group by Clause
- Joining Using the join Clause
- Continuing a Query Expression Using the into Clause
- Bindings with the let Clause
- Summary
- Chapter 20. Language Integrated Query Internals
- Chapter 21. Reflection
- Chapter 22. Dynamic Programming
-
Chapter 23. Exceptions
- Chapter 23. Exceptions
- Life Without Exceptions
- Introducing Exceptions
- Exception Handling
- Throwing Exceptions
- Defining Your Own Exception Types
-
(In)famous Exception Types
- DivideByZeroException
- OverflowException
- NullReferenceException
- IndexOutOfRangeException
- InvalidCastException
- ArrayTypeMismatchException
- TypeInitializationException
- ObjectDisposedException
- OutOfMemoryException
- StackOverflowException
- ExecutionEngineException
- ArgumentException
- ArgumentNullException
- ArgumentOutOfRangeException
- InvalidOperationException
- NotImplementedException
- NotSupportedException
- FormatException
- AggregateException
- Summary
- Chapter 24. Namespaces
-
Chapter 25. Assemblies and Application Domains
- Chapter 25. Assemblies and Application Domains
-
Assemblies
- Modules and Assemblies
- Types of Assemblies
- Assembly Properties
- Naming, Versioning, and Deployment
- Strong Naming
- The Global Assembly Cache
- Referencing Assemblies
- How Assemblies Get Loaded at Runtime
- Native Image Generation (NGEN)
- Visibility Aspects
- Embedded Resources
- Type Forwarding
- Reflection Flashback
- Application Domains
- Summary
-
Part III. Working with Base Class Libraries
-
Chapter 26. Base Class Library Essentials
- Chapter 26. Base Class Library Essentials
- The BCL: What, Where, and How?
-
The Holy System Root Namespace
- Primitive Value Types
- Working with Arrays
- The Math Class
- BigInteger: Beyond 32-bit and 64-bit Integers
- Complex Numbers
- Generating Random Numbers
- Working with Date and Time
- GUID Values
- Nullability Revisited Briefly
- The Uri Type
- Interacting with the Environment
- Leave the GC Alone (Most of the Time)
- Native Interop with IntPtr
- Lazy Initialization Using Lazy<T>
- Tuple Types
- Facilities to Work with Text
- Summary
- Chapter 27. Diagnostics and Instrumentation
- Chapter 28. Working with I/O
- Chapter 29. Threading and Synchronization
- Chapter 30. Task Parallelism and Data Parallelism
-
Chapter 26. Base Class Library Essentials
- Index
Product information
- Title: C# 4.0 Unleashed
- Author(s):
- Release date: January 2011
- Publisher(s): Sams
- ISBN: None
You might also like
book
Microsoft® .NET Compact Framework (Core Reference)
The Microsoft® Windows® .NET Compact Framework brings the power of the .NET Framework to handheld devices …
book
Microsoft® Visual Studio® 2010 Unleashed
This end-to-end deep dive into Microsoft Visual Studio 2010 Professional will help working developers squeeze maximum …
book
IronRuby Unleashed
Ruby has built an enormous following of developers attracted by its intuitiveness, flexibility, and simplicity. Meanwhile, …
book
Pro T-SQL 2008 Programmer's Guide
Discussing new and existing features, SQL Server designer and administrator Michael Coles takes you on an …