Table of Contents

 

Copyright

Brief Table of Contents

Table of Contents

Praise for the Second Edition

Praise for the First Edition

Foreword

Preface

Acknowledgments

About this Book

About the Author

About the Cover Illustration

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. Writing asynchronous code without the heartache

1.7. Dissecting the .NET platform

1.7.1. C#, the language

1.7.2. Runtime

1.7.3. Framework libraries

1.8. Making your code super awesome

1.8.1. Presenting full programs as snippets

1.8.2. Didactic code isn���t production code

1.8.3. Your new best friend: the language specification

1.9. Summary

Chapter 2. Core foundations: building on C# 1