Book description
Buy the print C# 5.0 Unleashed and get the eBook version for free! See inside the book for access code and details.
C# 5.0 Unleashed is for anyone who wants to learn the C# programming language in depth, understanding how language features truly work. While giving you those insights, you learn where and how to use the features to design various kinds of software. This book not only teaches the language’s capabilities, it also looks behind the scenes to build a solid foundation to aid you in understanding the .NET platform as a whole.
¿
Bart De Smet offers exceptional insight into the features of both the language and Microsoft’s broader framework. He doesn’t just cover the “what” and “how” of effective C# programming: He explains the “why,” so you can consistently choose the right language and platform features, maximizing your efficiency and effectiveness.
¿
The early chapters introduce the .NET platform, the tooling ecosystem, and the C# programming language, followed by in-depth coverage of the C# programming language itself, with immediate application of language features. The last chapters give an overview of the .NET Framework libraries about which every good developer on the platform should know.
Understand the .NET platform: its language support, libraries, tools, and more
Learn where C# fits, how it has evolved, and where it’s headed
Master essential language features including expressions, operators, types, objects, and methods
Efficiently manage exceptions and resources
Write more effective C# object-oriented code
Make the most of generics, collections, delegates, reflection, and other advanced language features
Use LINQ to express queries for any form of data
Master dynamic programming techniques built on .NET’s Dynamic Language Runtime (DLR)
Work with namespaces, assemblies, and application domains
Write more efficient code using threading, synchronization, and advanced parallel programming techniques
Leverage the Base Class Library (BCL) to quickly perform many common tasks
Instrument, diagnose, test, and troubleshoot your C# code
Understand how to use the new C# 5.0 asynchronous programming features
Leverage interoperability with Windows Runtime to build Windows 8 applications
Table of contents
- About This eBook
- Title Page
- Copyright Page
- Contents at a Glance
- Table of Contents
- About the Author
- Acknowledgments
- We Want to Hear from You!
- Reader Services
- Introduction
- Chapter 1. Introducing the .NET Platform
- Chapter 2. Introducing the C# Programming Language
- Chapter 3. Getting Started with .NET Development Using C#
- 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
- 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
- Event Interoperability with WinRT
- Introduction to Reactive Programming
- Summary
-
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
- 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
- OutOfMemoryException
- StackOverflowException
- ExecutionEngineException
- ArgumentException
- ArgumentNullException
- ArgumentOutOfRangeException
- InvalidOperationException
- NotImplementedException
- NotSupportedException
- FormatException
- AggregateException
- Summary
- Chapter 24. Namespaces
-
Chapter 25. Assemblies and Application Domains
-
Assemblies
- Modules and Assemblies
- Types of Assemblies
- Assembly Properties
- Naming, Versioning, and Deployment
- Strong Naming
- Strong-Name Verification at Runtime
- The Global Assembly Cache
- Referencing Assemblies
- How Assemblies Get Loaded at Runtime
- Native Image Generation
- Visibility Aspects
- Embedded Resources
- Type Forwarding
- Reflection Flashback
- Application Domains
- Summary
-
Assemblies
-
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 31. Asynchronous Programming
- Chapter 32. Introduction to Windows Runtime
- Index
Product information
- Title: C# 5.0 Unleashed
- Author(s):
- Release date: April 2013
- Publisher(s): Sams
- ISBN: 9780133391480
You might also like
book
C# 4.0 Unleashed
C# 4.0 Unleashed is a practical reference focusing on the C# language and the .NET platform …
book
Professional C# 5.0 and .NET 4.5.1
Comprehensive, advanced coverage of C# 5.0 and .NET 4.5.1 Whether you're a C# guru or transitioning …
book
Pro C# 2010 and the .NET 4 Platform, Fifth Edition
The first edition of this book was released at the 2001 Tech-Ed conference in Atlanta, Georgia. …
book
Programming in C#: Exam 70-483 (MCSD) Guide
Acquire necessary skills in preparing for Microsoft certification and enhance your software development career by learning …