C# 5.0 in a Nutshell (5th Ed)

Author: Joseph and Ben Albahari
Publisher: O'Reilly, 2012
Pages: 1064
ISBN: 978-1449320102
Auidience: All C# developers 
Rating: 4.5
Reviewed by: Mike James

Despite being part of the “in a Nutshell series” this is a seriously thick book  and the latest edition covers the new features in  C# 5.0.

The reason it is so big for a reference work is that it doesn't constrain its coverage to what you might consider the core of C#. Indeed the basics of C# are covered in the first three chapters and Chapter Four is entitled Advanced C# - less than 200 pages in total.

From this point the book moves into increasingly general territory focused mainly on the framework. Subjects covered include - collections, three chapters on LINQ, Garbage collection, diagnostics, streams and I/O, networking, serialization, assemblies, reflection, dynamic types, security, threading, parallel programming, asynchronous methods, application domains, interop and regular expressions. One big and obvious omission is any discussion of the UI - either Windows Forms or WPF.

 

Banner

 

A new chapter introduces the big new feature in C#  - asynchronous programming. The chapter deals with the basic thread class and then moves on to tasks and later await. This introduction to threading means that the previous threading chapter is now on "advanced" threading - mostly locks and thread storage. The chapter on asynchronous methods i.e. how it was done before C# 5 has been removed. Thus the new elements of C# 5 have been incorporated without making the book significantly larger.

You can see that the order and topics are something of a mess - but who says that a language can be explained in a single linear sequence.

Given that one of the problems in reading this book is its huge size it might have been better to write a more focused book on C# and a couple of other books on additional topics.There is a very real problem in reading this book caused by its size. You either have to decide to fold the thick brick open and put something on it to hold it open or break its spine so that in time pages are almost certain to fall out.

 

C5inaNutshell5ed

 

Each of the short sections on a particular topic is very terse and the examples are very short. In most cases if you don't already know something about the topic then this isn't going to help. However, if you are trying to use some feature then it does form a sufficient reference for you to make a start.  The book isn’t aimed at complete beginners and readers are expected to have some general programming experience. However if you are a reasonably intelligent C# programmer this will make a great way to discover a little more than just the basics of a topic you need to get up to speed on.

This is a book C# programmers will find an useful addition to their bookshelves if they require a reference work on C# and the wider framework. Recommended.

 

Banner


Software Development Pearls

Author: Karl Wiegers
Publisher: Addison-Wesley Professional
Pages: 336
ISBN: 978-0137487776
Print: 0137487770
Kindle: B09BF6CS9T
Audience: General developers
Rating: 2
Reviewer: Ian Elliot
Who can resist a good pearl or two?



Principled Programming

Author: Tim Teitelbaum
Publisher: DateTree Press
Date: March 2023
Pages: 429
ISBN: 978-8987744109
Print: B0BZF8R467
Audience: General
Rating: 5
Reviewer: Mike James
Principled Programming - what else would you want to do?


More Reviews

Last Updated ( Tuesday, 12 February 2013 )