C# Precisely
The book C# Precisely gives a concise description of the C#
programming language, version 2.0, including generics, iterators,
anonymous methods, nullable value types, and partial type
declarations, but excluding most of Microsoft's .Net Framework class
libraries except threads, input-output, and generic collection
classes.
The book has 204 pages, a comprehensive index, and 209 examples.
The complete ready-to-run examples are available for download below.
See the table of contents.
The second printing from 2006 contains all necessary updates for the
released version of C# 2.0 (Visual Studio 2005). If you own the
first printing, here are all
the updated pages in PDF and here is a list of
the most important changes.
Here's bonus note which summarizes the results
of C# floating-point
operations; they are mostly as expected for the IEEE 754 standard.
(January 2009).
Second edition, 2012
The second edition, covering C# 3.0 and 4.0 and a bit of C# 5.0,
appears at MIT Press in February 2012. You
can order it directly
from MIT Press or
from Amazon.com.
The book has
xii+246 pages and 256 examples. The bibliographic data are ISBN
978-0-262-51686, MIT Press 2012. Here are the
corresponding updated
examples.
Bibliographic data
P. Sestoft and Henrik
I. Hansen, C# Precisely, The MIT Press 2004; second
updated printing 2006. ISBN 0-262-69317-8. List price: US $21.95.
The book's page at
MIT Press. Published also by Prentice-Hall India 2005.
Order it from Amazon.com
or
Amazon.co.uk.
Some reviews and comments
- Gabriel Mateescu in Online
Computing Reviews, 5 August 2005: "This book stands apart from
other books about the C# programming language by uniquely combining
three attributes: completeness, clarity, and conciseness of
description."
- Peter N. Roth in C/C++ Users
Journal, October 2005: "I highly recommend this book as one
from which to learn to program
using C#. But due to the bracing brevity of the text, I can only
recommend it if, and only if, you are already a programmer."
- Anders Hejlsberg, Microsoft: "Blaise Pascal once wrote, 'I
have made this letter longer than usual, because I lack the time to
make it short'. Peter Sestoft and Henrik Hansen have taken the time
to write a short book on C# that leaves nothing out."
All example programs from the book
See also
Copyright (c) 2004 Peter Sestoft (sestoft@itu.dk) 2003-07-03,
2011-12-07