C# in Depth is written by Jon Skeet, who is a well-known developer and currently the top StackOverflow Contributor. It's a pretty long book and covers the pretty large topic and in my opinion, it indeed covers it "in-depth" if we are talking about the evolving of the C# language.
This book is an engaging guide that reveals the potential of the C# language. In this book, Jon deep dives into the C# language and mention the features through C# 1 to C# 7 and their underlying motives. Also, he mentions C# 8 and beyond, which was not released when he wrote the book's fourth edition.
The book contains 4 parts and 15 sections as follows:
C# in ContextSurvival of the sharpestC# 2-5C# 2C# 3: LINQ and everything that comes with itC# 4: Improving interoperabilityWriting asynchronous codeAsync implementationC# 5 bonus featuresC# 6Super-sleek properties and expression-bodied membersStringy featuresA smörgåsbord of features for concise codeC# 7 and BeyondComposition using tuples (I'm currently reading this section)Deconstruction and pattern matchingImproving efficiency with more pass by referenceConcise code in C# 7C# 8 and beyond
Let's talk about the good and bad sides of the book, what I have learned by reading it, who should read this book etc...
Good SidesJon mentions the features in a very conversational way and that makes the book quite readable.Well detailed coverage of the language features of C#.The book is chronologically ordered, therefore you can really see the evolution of the language.New features and their motive (why this feature is needed, how it helps us with our daily code base, should we use it, etc.) are described very well.Simple and great examples to demonstrate the language features.LINQ and Async sections are really great and informative.In this book, we see compiler-generated code frequently and this is a good way to see what happens under the hook. This is really important to be confident about the code you are writing and be aware of what is going on.Bad Sides
I really liked the book in general and I think it only has one bad side:
dynamics and DLR is mentioned briefly in the book. For such a complex topic, I would expect more details because I felt like the book is mentioned these topics in a poor way and in a bit too fast.
In my opinion, except that the book does what it promises.
What I have learned?
Frankly speaking, more than I would have expected. Specifically, I use LINQ in my daily code frequently, but I never really looked into it in details, after reading the LINQ section now I have a much more thorough understanding of LINQ and how all the pieces of the language fit together to make it work.
I learned good tips about certain features with their caveats. Also, after reading the dynamics and DLR section of this book, I have found and read great articles on these features and it was good that this book force me to learn about these features in depth.
I suggest you after reading each section, give pause and think about the section and apply the features code in the book. This will make it more memorable and will help you to use it in your daily code style. Even if you know the feature, it's good to give pause and try it. Especially, checking the generated code by the compiler. At least, this is what I have done while reading the book. So, think of the book as a ladder to make you a more confident and knowledgeable developer by deep diving into the language.
Who should read this book?
Overall, I would highly recommend this book to every C# developer. A developer could easily raise both their skill level, confidence and knowledge of C#. I think any advanced C# developer should have plenty to learn from it as well and don't think it just explains the features briefly, it gives you more than that.
So, if you are willing to learn internal of the C# language and want to learn motives under certain features in C#, version by version, I think this book it's what you are looking for. If you aren't curious about those things, then you don't need to read this book.
Conclusion
In this article, I mentioned about the book I'm currently reading: "C# in Depth, Fourth Edition" by Jon Skeet. I highly recommend this book for every C# developer.
Buy It: https://amzn.to/3wk3Blm
YOU ARE READING
Book Review: C# in Depth
Truyện NgắnIn this article, I will be sharing my thoughts on one of the most popular C# books: C# in Depth. I haven't finished the book yet and currently reading it, but I read more than half of the book and thought I could briefly mention my first impressions...