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
Classic Computer Science Problems in Python
Author: David Kopec Publisher: Manning Date: March 2019 Pages: 224 ISBN: 978-1617295980 Print: 1617295981 Kindle: B09782BT4Q Level: Intermediate Audience: Python developers Category: Python Rating: 4 Reviewer: Mike James Classic algorithms in Python - the world's favourite language.
|
Beautiful C++
Author: J. Guy Davidson and Kate Gregory Publisher: Addison-Wesley Professional Date: December 2021 Pages: 352 ISBN: 978-0137647842 Print: 0137647840 Kindle: B09HTH1X38 Audience: C++ developers Rating: 5 Reviewer: Mike James Can C++ be beautiful?
| More Reviews |
|