C# in Depth: Foreword by Eric Lippert
Jon Skeet
Copyright
For online information and ordering of this and other Manning books, please visit www.manning.com. The publisher offers discounts on this book when ordered in quantity. For more information, please contact
Special Sales Department Manning Publications Co. 20 Baldwin Road PO Box 261 Shelter Island, NY 11964.
2014 by Manning Publications Co. All rights reserved.
No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by means electronic, mechanical, photocopying, or otherwise, without prior written permission of the publisher.
Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in the book, and Manning Publications was aware of a trademark claim, the designations have been printed in initial caps or all caps.
Recognizing the importance of preserving what has been written, it is Mannings policy to have the books we publish printed on acid-free paper, and we exert our best efforts to that end. Recognizing also our responsibility to conserve the resources of our planet, Manning books are printed on paper that is at least 15 percent recycled and processed without the use of elemental chlorine.
| Manning Publications Co.20 Baldwin RoadPO Box 261Shelter Island, NY 11964 | Development editor Jeff BleielCopyeditor: Andy CarrollProofreader: Katie TennantTypesetter: Dottie MarsicoCover designer: Marija Tudor |
ISBN 9781617291340
Printed in the United States of America
1 2 3 4 5 6 7 8 9 10 MAL 18 17 16 15 14 13
Dedication
To my boys, Tom, Robin, and William
Brief Table of Contents
Table of Contents
Praise for the Second Edition
A masterpiece about C#.
Kirill Osenkov, Microsoft C# Team
If you are looking to master C# then this book is a must-read.
Tyson S. Maxwell Sr. Software Engineer, Raytheon
Were betting that this will be the best C# 4.0 book out there.
Nikander Bruggeman and Margriet Bruggeman .NET consultants, Lois & Clark IT Services
A useful and engaging insight into the evolution of C# 4.
Joe Albahari Author of LINQPad and C# 4.0 in a Nutshell
One of the best C# books I have ever read.
Aleksey Nudelman CEO, C# Computing, LLC
This book should be required reading for all professional C# developers.
Stuart Caborn Senior Developer, BNP Paribas
A highly focused, master-level resource on language updates across all major C# releases. This book is a must-have for the expert developer wanting to stay current with new features of the C# language.
Sean Reilly, Programmer/Analyst Point2 Technologies
Why read the basics over and over again? Jon focuses on the chewy, new stuff!
Keith Hill, Software Architect Agilent Technologies
Everything you didnt realize you needed to know about C#.
Jared Parsons Senior Software Development Engineer Microsoft
Praise for the First Edition
Simply put, C# in Depth is perhaps the best computer book Ive read.
Craig Pelkie, Author, System iNetwork
I have been developing in C# from the very beginning and this book had some nice surprises even for me. I was especially impressed with the excellent coverage of delegates, anonymous methods, covariance and contravariance. Even if you are a seasoned developer, C# in Depth will teach you something new about the C# language... This book truly has depth that no other C# language book can touch.
Adam J. Wolf Southeast Valley .NET User Group
I enjoyed reading the whole book; it is well-writtenthe samples are easy to understand. I actually found it very easy to engage into the whole lambda expressions topic and really liked the chapter about lambda expressions.
Jose Rolando Guay Paz Web Developer, CSW Solutions
This book wraps up the authors great knowledge of the inner workings of C# and hands it over to readers in a well-written, concise, usable book.
Jim Holmes Author of Windows Developer Power Tools
Every term is used appropriately and in the right context, every example is spot-on and contains the least amount of code that shows the full extent of the feature...this is a rare treat.
Franck Jeannin, Amazon UK reviewer
If you have developed using C# for several years now, and would like to know the internals, this book is absolutely right for you.
Golo Roden Author, Speaker, and Trainer for .NET and related technologies
The best C# book Ive ever read.
Chris Mullins, C# MVP
Foreword
There are two kinds of pianists.
There are some pianists who play, not because they enjoy it, but because their parents force them to take lessons. Then there are those who play the piano because it pleases them to create music. They dont need to be forced; on the contrary, they sometimes dont know when to stop.
Of the latter kind, there are some who play the piano as a hobby. Then there are those who play for a living. That requires a higher level of dedication, skill, and talent. They may have some degree of freedom about what genre of music they play and the stylistic choices they make in playing it, but fundamentally those choices are driven by the needs of the employer or the tastes of the audience.
Of the latter kind, there are some who do it primarily for the money. Then there are those professionals who would want to play the piano in public even if they werent being paid. They enjoy using their skills and talents to make music for others. That they can have fun and get paid for it is so much the better.
Of the latter kind, there are some who are self-taught, who play by ear, who might have great talent and ability, but cant communicate that intuitive understanding to others except through the music itself. Then there are those who have formal training in both theory and practice. They can explain what techniques the composer used to achieve the intended emotional effect, and use that knowledge to shape their interpretation of the piece.
Of the latter kind, there are some who have never looked inside their pianos. Then there are those who are fascinated by the clever escapements that lift the damper felts a fraction of a second before the hammers strike the strings. They own key levelers and capstan wrenches. They take delight and pride in being able to understand the mechanisms of an instrument that has 510,000 moving parts.
Of the latter kind, there are some who are content to master their craft and exercise their talents for the pleasure and profit it brings. Then there are those who are not just artists, theorists, and technicians; somehow they find the time to pass that knowledge on to others as mentors.
I have no idea if Jon Skeet is a pianist or musician of any sort. But from my email conversations with him as one of the C# teams Most Valuable Professionals over the years, from reading his blog, and from reading every word of each of his books at least three times, it has become clear to me that Jon is that latter kind of software developer: enthusiastic, knowledgeable, talented, curious, analyticaland a teacher of others.