What people are saying about C# 4.0 in a Nutshell "C# 4.0 in a Nutshell is one of the few books I keep on my desk as a quick reference. It is a book I recommend." --Scott Guthrie, Corporate Vice President, .NET Developer Platform, Microsoft Corporation "A must-read for a concise but thorough examination of the parallel programming features in the .NET Framework 4." --Stephen Toub, Parallel Computing Platform Program Manager, Microsoft "This wonderful book is a great reference for developers of all levels." -- Chris Burrows, C# Compiler Team, Microsoft When you have questions about how to use C# 4.0 or the .NET CLR, this highly acclaimed bestseller has precisely the answers you need. Uniquely organized around concepts and use cases, this fourth edition includes in-depth coverage of new C# topics such as parallel programming, code contracts, dynamic programming, security, and COM interoperability. You'll also find updated information on LINQ, including examples that work with both LINQ to SQL and Entity Framework. This book has all the essential details to keep you on track with C# 4.0. Get up to speed on C# language basics, including syntax, types, and variables Explore advanced topics such as unsafe code and preprocessor directives Learn C# 4.0 features such as dynamic binding, type parameter variance, and optional and named parameters Work with .NET 4's rich set of features for parallel programming, code contracts, and the code security model Learn .NET topics, including XML, collections, I/O and networking, memory management, reflection, attributes, security, and native interoperability
В своё время я спросил у Алексея Колесниченко (опытного разработчика, использующего стек Microsoft), какую книгу по C# и .Net лучше всего прочесть — чтобы было коротко, но максимально полезно?
Он сразу же ответил: «C# in a Nutshell». И я с ним соглашусь :-)
Хотя в названии книги указан только C#, на самом деле книга покрывает как сам язык (в данном издании — 4-й версии), так и базовые части .Net Framework.
Материал излагается от простого к сложному, с самого нуля: сначала базовые понятия .Net, потом основы языка C#, построение типов (классы и наследование, интерфейсы, и т.д), более сложные понятия (delegates, events, generics, lambda и т.п.), элементы .Net Framework. Несколько глав посвящено LINQ. То, что появилось нового в 4-й версии — вкратце упомянуто (обзорно) во введении, и детально излагается в контексте среди остального материала.
Если есть какие-то нюансы или подводные камни — авторы это отмечают особым образом. К каждому блоку информации идут краткие примеры. Но самое главное — весь материал излагается максимально кратко и чётко.
Книга хорошо структурирована. Многие главы требуют изучения и понимания предыдущего материала, хотя при этом авторы и стараются каждую главу излагать изолированно от других.
Книга позволяет получить базис знаний, без которого вряд ли возможно заниматься каким либо программированием на .Net (ASP.Net, WinForms, WPF, WCF и т.д.).
Книга «C# in a Nutshell» не содержит базовых понятий по программированию в целом и ООП в частности — она не является учебником «для начинающих программировать», она предназначена для «уже программистов» и поэтому, наверное, в первую очередь будет полезна для: 1.«программистов-свитчеров», т.е. переходящих на .Net с других языков/платформ и уже имеющих понимание и опыт использования ООП; 2.для программистов, уже работающим на .Net и желающих освежить в памяти или упрочить основные знания по C# и .Net.
Purely reference, and very complete. If you know how to code in C# and know object oriented programming, then you can come to this book to look at how specific functions work and choose the best one for your needs. If you're learning to program, this book will not help much. It's a reference not a guide.
Velmi slušná kniha, která se netýká jen C#, ale i knihoven v .Net Frameworku. Jedná se o kompilát - v dobrém slova smyslu - témat, která se objevují detailněji zpracována ve dvou samostatných knihách C# in Depth od Johna Skeeta a CLR via C# od J. Richtera.
I'm hesitant to mark this as "read" because I still have a few chapters left; I'm one who reads reference books completely, and I still have six or seven chapters left. Nonetheless, everything I've read so far has met or exceeded everything I expect from an O'Reilly Nutshell book.
Really good book. It covers the basics as well as very advanced topics. There are some places where it is hard to really understand the subject but the overall impression is still very good. Some programming experience is advisable before reading this book.
C# is way more practical than I thought. The .Net framework is a powerful bridge for all of the languages and I'm slowly learning to appreciate it through my master's thesis.