Jump to ratings and reviews
Rate this book

C# 4.0 in a Nutshell

Rate this book

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

1033 pages, Paperback

First published January 1, 2010

19 people are currently reading
74 people want to read

About the author

Joseph Albahari

59 books16 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
86 (47%)
4 stars
72 (40%)
3 stars
17 (9%)
2 stars
4 (2%)
1 star
1 (<1%)
Displaying 1 - 10 of 10 reviews
Profile Image for Aleksey Trufanov.
65 reviews26 followers
October 31, 2011
В своё время я спросил у Алексея Колесниченко (опытного разработчика, использующего стек 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.
Profile Image for Dmitri Wolf.
11 reviews
December 18, 2016
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.
Profile Image for Rene Stein.
231 reviews36 followers
December 16, 2010
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.
Profile Image for Crwth.
11 reviews
June 25, 2012
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.
Profile Image for Maciej Szopinski.
8 reviews
November 8, 2014
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.
1 review1 follower
April 27, 2011
I think it is a very powerfull reference for c# for beginners, intermediate and also professionals it is a must book for any developer
Profile Image for Alireza.
37 reviews27 followers
May 24, 2015
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.
Profile Image for Wasim Alatrash.
19 reviews4 followers
August 13, 2012
it's the best book learns you C# Language in simple way and also in depth .
Displaying 1 - 10 of 10 reviews

Can't find what you're looking for?

Get help and learn more about the design.