Book description
Many books introduce C#, but if you don't have the time to read 1200 pages, Accelerated C# 2008 gives you everything you need to know about C# 2008 in a concentrated 500 pages of must-know information and best practices.
C# 2008 offers powerful new features, and Accelerated C# 2008 is the fastest path to mastery, for both experienced C# programmers moving to C# 2008 and programmers moving to C# from another object-oriented language.
You'll quickly master C# syntax while learning how the CLR simplifies many programming tasks. You'll also learn best practices that ensure your code will be efficient, reusable, and robust. Why spend months or years discovering the best ways to design and code C# when this book will show you how to do things the right way, right from the start?
Table of contents
-
Accelerated C# 2008
- Copyright
- Dedication (1/3)
- Dedication (2/3)
- Dedication (3/3)
- Foreword
- About the Author
- About the Technical Reviewer
- Acknowledgments
- Introduction
- About This Book
- Chapter 1: C# Preview
- Chapter 2: C# and the CLR
- Chapter 3: C# Syntax Overview
-
Chapter 4: Classes, Structs, and Objects
- Class Definitions (1/7)
- Class Definitions (2/7)
- Class Definitions (3/7)
- Class Definitions (4/7)
- Class Definitions (5/7)
- Class Definitions (6/7)
- Class Definitions (7/7)
- Value Type Definitions (1/2)
- Value Type Definitions (2/2)
- Anonymous Types
- Object Initializers
- Boxing and Unboxing (1/2)
- Boxing and Unboxing (2/2)
- System.Object
- Creating Objects (1/2)
- Creating Objects (2/2)
- Destroying Objects
- Disposable Objects
- Method Parameter Types
- Method Overloading
- Inheritance and Virtual Methods
- Inheritance, Containment, and Delegation
- Summary
- Chapter 5: Interfaces and Contracts
- Chapter 6: Overloading Operators
-
Chapter 7: Exception Handling and Exception Safety
- How the CLR Treats Exceptions
- Mechanics of Handling Exceptions in C# (1/2)
- Mechanics of Handling Exceptions in C# (2/2)
- Who Should Handle Exceptions?
- Avoid Using Exceptions to Control Flow
- Achieving Exception Neutrality
- Creating Custom Exception Classes
- Working with Allocated Resources and Exceptions
- Providing Rollback Behavior
- Summary
-
Chapter 8: Working with Strings
- String Overview
- String Literals
- Format Specifiers and Globalization (1/3)
- Format Specifiers and Globalization (2/3)
- Format Specifiers and Globalization (3/3)
- Working with Strings from Outside Sources
- StringBuilder
- Searching Strings with Regular Expressions (1/2)
- Searching Strings with Regular Expressions (2/2)
- Summary
- Chapter 9: Arrays, Collection Types, and Iterators
- Chapter 10: Delegates, Anonymous Functions, and Events
-
Chapter 11: Generics
- Difference Between Generics and C++ Templates
- Efficiency and Type Safety of Generics
- Generic Type Definitions and Constructed Types (1/3)
- Generic Type Definitions and Constructed Types (2/3)
- Generic Type Definitions and Constructed Types (3/3)
- Constraints
- Generic System Collections
- Generic System Interfaces
- Select Problems and Solutions (1/3)
- Select Problems and Solutions (2/3)
- Select Problems and Solutions (3/3)
- Summary
- Chapter 12: Threading in C#
- Chapter 13: In Search of C# Canonical Forms
- Chapter 14: Extension Methods
- Chapter 15: Lambda Expressions
- Chapter 16: linq_colon_language_integrated_query
- Appendix A: References
- Index (1/3)
- Index (2/3)
- Index (3/3)
Product information
- Title: Accelerated C# 2008
- Author(s):
- Release date: November 2007
- Publisher(s): Apress
- ISBN: 9781590598733
You might also like
book
Illustrated C# 2012
This book presents the C# 5.0 language in a uniquely succinct and visual format. Often in …
book
C# 3.0 Unleashed: With the .NET Framework 3.5
Whether you need an approachable on-ramp to .NET or you want to enhance your skills, C# …
book
C# 4.0 Unleashed
C# 4.0 Unleashed is a practical reference focusing on the C# language and the .NET platform …
book
Essential C# 6.0
“ Welcome to one of the greatest collaborations you could dream of in the world of …