C# Tutorial: The Patchwork Book

It is common for publishers of programming books to provide sample chapters. What we have done in this section is to collect links to some of these sample chapters, the idea being to provide a kind of 'patchwork book'. As might be expected, the spread of topics covered is somewhat - ahem - patchy (heavy on introduction, since most sample chapters are introductions), but we hope that it will prove useful. As more books on C# come out, we shall look to add to this resource.

1. Introduction (i) (pdf)

- provides background information about the .NET framework, the Common Language Runtime, etc.

- from 'Application Development using C# and .NET', Stiefel & Oberg, Prentice Hall, 2002.

2. Introduction (ii) (html)

- a general introduction to the C# language (in six parts - use the links at the top of the page).

- from 'C# Primer Plus', Klaus Michelsen, Sams, 2001.

3. Introduction (iii) (pdf)

- getting started using C# in Visual Studio.NET

- from 'C# for Windows Programming', Pappas & Murray, Prentice Hall, 2002

4. Variables (html)

- value types and reference types, constants, etc. (in eleven parts - use the links at the top of the page)

- from 'Sams Teach Yourself C# in 21 Days', Bradley Jones, Sams, 2001'

5. Operators and Expressions (html)

- covers how to create expressions in C# using the range of available operators (in twelve parts - use the links at the top of the page)

- from 'C# Unleashed', Joseph Mayo, Sams, 2001

6. Advanced Classes (pdf)

- covers making indexers, overloading operators, delegates and events, and documenting classes.

- from 'C# and the .NET Framework', Andrew Troelsen, Apress Ltd., 2001

7. Interfaces (pdf)

- employing the interfaces built into the .NET framework in your classes.

- from 'Introduction to C# Using .NET', Oberg, Prentice Hall, 2002.

8. Attributes and Reflection (html)

- covers the use of metadata in programming in C#

- from 'Programming C#', Jesse Liberty, O'Reilly, 2001

Link Building Information