Always Learning

Advanced Search

More Effective C# (Includes Content Update Program)

More Effective C# (Includes Content Update Program)

50 Specific Ways to Improve Your C#
2nd Edition

Bill Wagner

Aug 2017, Paperback, 304 pages
ISBN13: 9780672337888
ISBN10: 0672337886
This title is ordered on demand which may result in extended delivery times.
Special online offer - Save 30%
Was 33.49, Now 23.44Save: 10.05
  • Print pagePrint page
  • Email this pageEmail page
  • Share

In More Effective C#, Second Edition, world-renowned .NET expert Bill Wagner identifies and illuminates 50 intermediate-to-advanced techniques for writing exceptionally robust and well-performing C# 7.0 code. Reflecting the growing sophistication of the C# language and its development community, Wagner presents powerful new solutions to problems you’re likely to encounter every day.

Through three editions of Effective C#, Wagner’s clear explanations, expert tips, and realistic code examples have proven invaluable to hundreds of thousands of developers. Now, he brings the same proven approach to C# 7.0, focusing especially on new features that help you perform familiar tasks more efficiently and effectively.

Drawing on his unsurpassed C# experience and key role on global C# standards committees, Wagner addresses object-oriented, functional, and service-oriented approaches to managing data with C#; better ways to express your intent to users and other programmers; and new opportunities to leverage powerful asynchronous and dynamic programming techniques.

  • Use properties instead of accessible data members (see Item 1)
  • Distinguish between value and reference types (see Item 4)
  • Understand relationships among multiple concepts of equality (see Item 9)
  • Avoid conversion operators in your APIs (see Item 11)
  • Understand how interface and virtual methods differ (see Item 15)
  • Avoid overloading methods defined in base classes (see Item 19)
  • Create method groups that are clear, minimal, and complete (see Item 22)
  • Enable immediate error reporting in iterators and async methods (see Item 26)
  • Use async methods for async work (see Item 27)
  • Avoid thread allocations and context switches (see Item 30)
  • Construct PLINQ parallel algorithms with exceptions in mind (see Item 36)
  • Use the thread pool instead of creating threads (see Item 37)
  • Use backgroundworker for cross-thread communication (see Item 38)
  • Use the smallest possible scope for lock handles (see Item 41)
  • Understand the pros and cons of dynamic programming (see Item 43)
  • Make full use of the expression API (item 46)
  • Minimize dynamic objects in public APIs (item 47)

You’re already a successful C# programmer: this book will make you an outstanding one.

Content Update Program: This book is part of the InformIT Content Update Program. As updates are made to C#, sections of this book will be updated or new sections will be added to match updates to the technologies. See inside for details.


Chapter 1: Working with Data Types

Chapter 2: API Design

Chapter 3: Task Based Asynchronous Programming

Chapter 4: Parallel Processing

Chapter 5: Dynamic Programming

Chapter 6: Participate in the Global C# Community


  • 50 expert-level C# techniques for advanced students: practical advice, best practices, tips, shortcuts, and idioms it would take years to discover on their own
  • New and updated code examples leveraging C#'s most powerful improvements
  • By renowned C# expert and C# standardization committee member Bill Wagner, author of Effective C#

Bill Wagner is one of the world’s foremost C# developers, a member of the ECMA C# Standards Committee, and author of all three editions of Effective C#. He is president of the Humanitarian Toolbox, has been awarded Microsoft Regional Director and .NET MVP for 11 years, and was recently appointed to the .NET Foundation Advisory Council. Wagner has helped companies ranging from start-ups to enterprises to improve development processes and grow development teams. Now a member of Microsoft’s .NET Core content team, he creates developer learning materials on the C# language and .NET Core.