When you're programming C# 4.0 and need a little help, this tightly focused and practical book tells you exactly what you need to know without long introductions or bloated examples. It's ideal as a succinct quick reference or as a guide to get you rapidly up to speed if you already know Java, C++, or an earlier version of C#.
Written by the authors of the acclaimed C# 4.0 in a Nutshell (O’Reilly), this book covers the entire C# 4.0 language without skimping on the details including:
- Features new to C# 4.0, such as dynamic binding, optional and named parameters, and type parameter variance
- All of C#'s fundamentals
- Advanced topics, including operator overloading, custom conversions, type constraints, covariance and contravariance, lambda expressions and closures, iterators, nullable types, and operator lifting
- LINQ, starting with sequences, lazy execution, and standard query operators; finishing with a complete reference to query expressions
- Unsafe code and pointers, custom attributes, preprocessor directives, and XML documentation
|Publisher:||O'Reilly Media, Incorporated|
|Edition description:||Third Edition|
|Product dimensions:||4.20(w) x 6.90(h) x 0.30(d)|
About the Author
Joseph Albahari is author of C# 3.0 in a Nutshell , LINQ Pocket Reference , and C# 3.0 Pocket Reference . He has been developing large-scale enterprise applications on .NET and other platforms for more than 15 years, and is author of LINQPad - the popular utility for querying databases in LINQ.
Joseph is currently a freelance consultant.
Joseph's Home Page
Ben Albahari is the founder of Take On It. He was a Program Manager at Microsoft for 5 years, where he worked on several projects, including the .NET Compact Framework and ADO.NET.
He was the cofounder of Genamics, a provider of tools for C# and J++ programmers, as well as software for DNA and protein sequence analysis. He is a co-author of C# Essentials , the first C# book from O'Reilly, and of previous editions of C# in a Nutshell .
Most Helpful Customer Reviews
Compact and concise.
This is a great reference for experienced programmers. It's compact and lightweight and easy to keep with you. The book is structured mainly as a reference and guide. I would not recommend this for novice programmers. It assumes a certain amount of familiarity with coding constructs and the way a programming language operates. It starts off with the real basics like keywords and operators and moves its way to more complex subjects like generics and delegates. I found it a very good starting point when I have an error and I need to make sure that I understand the underlying concepts involved before I start searching the internet for a solution. It's even helped make sense of some solutions I've found online. I would have liked to see a section on what's new in 4.0, so I could concentrate on those items. On the flip side, it is a comprehensive reference so you're not missing anything from the previous versions. Overall, I would definitely recommend this book. It's concise, but still takes the time to provide great examples to illustrate the concepts. As a programmer who's making the switch from VB to C#, it's been invaluable.
I would recommend this book to anyone who wants to keep a handy reference for C# 4.0 language features. How many times have you got a silly compiler error for a very simple language construct and you need to spend 10 to 15 minutes looking for it in the internet and finally find that you have specified the language construct wrongly ? It is time like this when the reference book like this comes in handy. You go to the index, look for the language construct and get the precise usage. Note that this book though it says 4.0 version, it provides all of the C# language reference and not only the 4.0 new features. Thus this is a great book to learn C# and it is so small sized it literally fits in your pant pocket. You can easily carry it around. The samples are very precise, brief and up to the point. Every developer should have one of this book for faster, efficient reference.