More Effective C# 2nd Ed (Addison Wesley)
Monday, 18 September 2017

This book is a collection of 50 intermediate-to-advanced techniques for writing robust and well-performing C# 7.0 code. Reflecting the growing sophistication of the C# language and its development community, author Bill Wagner presents new solutions to problems you are likely to encounter every day. This second edition has been completely reorganized to provide clear explanations, expert tips, and realistic code examples in a cohesive package for modern C#, covering C# 7.0.

 

Author: Bill Wagner
Publisher: Addison Wesley
Date: August 2017
Pages: 304
ISBN: 978-0672337888
Print: 0672337886
Kindle: B074RJT99M
Audience: C# developers
Level: Intermediate/advanced
Category: C#

 

 

  • Use properties instead of accessible data members
  • Distinguish between value and reference types
  • Understand relationships among multiple concepts of equality
  • Avoid conversion operators in your APIs
  • Understand how interface and virtual methods differ
  • Avoid overloading methods defined in base classes
  • Create method groups that are clear, minimal, and complete
  • Enable immediate error reporting in iterators and async methods
  • Use async methods for async work
  • Avoid thread allocations and context switches
  • Construct PLINQ parallel algorithms with exceptions in mind
  • Use the thread pool instead of creating threads
  • Use BackgroundWorker for cross-thread communication
  • Use the smallest possible scope for lock handles
  • Understand the pros and cons of dynamic programming
  • Make full use of the expression API
  • Minimize dynamic objects in public API

For recommendations of C# books see C# Books - Pick of the Shelf in our Programmer's Bookshelf section.

Follow @bookwatchiprog on Twitter or subscribe to I Programmer's Books RSS feed for each day's new addition to Book Watch and for new reviews.

To have new titles included in Book Watch contact  BookWatch@i-programmer.info

Banner
 


SQL Server 2022 Revealed

Author: Bob Ward
Publisher: Apress
Pages: 506
ISBN: 978-1484288931
Print:1484288939
Kindle: B0BLB4VJL9
Audience: DBAs & SQL devs
Rating: 5
Reviewer: Ian Stirk

This book aims to explain the new features in SQL Server 2022, how does it fare?



Code: The Hidden Language of Computer Hardware and Software 2nd Ed

Top Book 2023
Author: Charles Petzold
Publisher: Microsoft Press
Date: August 2022
Pages: 480
ISBN: 978-0137909100
Print: 0137909101
Kindle: B0B123P5GV
Audience: General
Rating: 5
Reviewer: Mike James
Code! We all need to know about it.


More Reviews