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
Software Requirements Essentials
Authors: Karl Wiegers and Candase Hokanson Publisher: Addison-Wesley Pages: 208 ISBN: 9780138190286 Print: 0138190283 Kindle: B0BTLC53FF Audience: General Rating: 4.5 Reviewer: Kay Ewbank
This slim book looks at how to work out the requirements for a software project through twenty 'practices' that you c [ ... ]
|
C++ Programming, 6th Ed (In Easy Steps)
Author: Mike McGrath Publisher: In Easy Steps Date: April 2022 Pages: 192 ISBN: 978-1840789713 Print: 1840789719 Kindle: B09V2T9SJD Audience: Developers wanting to learn C++ Reviewer: Mike James This is the 6th edition of a slim book on C++. Can you really learn C++ in easy steps?
| More Reviews |
|