Table of Contents

 

Copyright

Brief Table of Contents

Table of Contents

Praise for the First Edition

More Praise for the First Edition

Foreword

Preface

Acknowledgments

About this Book

1. Preparing for the Journey

Chapter 1. The changing face of C# development

1.1. Starting with a simple data type

1.1.1. The Product type in C# 1

1.1.2. Strongly typed collections in C# 2

1.1.3. Automatically implemented properties in C# 3

1.1.4. Named arguments in C# 4

1.2. Sorting and filtering

1.2.1. Sorting products by name

1.2.2. Querying collections

1.3. Handling an absence of data

1.3.1. Representing an unknown price

1.3.2. Optional parameters and default values

1.4. Introducing LINQ

1.4.1. Query expressions and in-process queries

1.4.2. Querying XML

1.4.3. LINQ to SQL

1.5. COM and dynamic typing

1.5.1. Simplifying COM interoperability

1.5.2. Interoperating with a dynamic language

1.6. Dissecting the .NET platform

1.6.1. C#, the language

1.6.2. Runtime

1.6.3. Framework libraries

1.7. Making your code super awesome

1.7.1. Presenting full programs as snippets

1.7.2. Didactic code isn���t production code

1.7.3. Your new best friend: the language specification

1.8. Summary

Chapter 2. Core foundations: building on C# 1

2.1. Delegates

2.1.1. A recipe for simple delegates

2.1.2. Combining and removing delegates