Effective C# (Covers C# 6.0), (includes Content Update Program)

50 Specific Ways to Improve Your C#

Nonfiction, Computers, Programming, Programming Languages
Cover of the book Effective C# (Covers C# 6.0), (includes Content Update Program) by Bill Wagner, Pearson Education
View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart
Author: Bill Wagner ISBN: 9780134579283
Publisher: Pearson Education Publication: November 29, 2016
Imprint: Addison-Wesley Professional Language: English
Author: Bill Wagner
ISBN: 9780134579283
Publisher: Pearson Education
Publication: November 29, 2016
Imprint: Addison-Wesley Professional
Language: English

In Effective C#, Third Edition, respected .NET expert Bill Wagner identifies 50 ways to harness the full power of the C# 6.0 language to write exceptionally robust, efficient, and well-performing code. Reflecting the growing sophistication of the C# language and its development community, Wagner has identified dozens of new ways to write better code. This edition’s new solutions include some that take advantage of generics and several that are more focused on LINQ, as well as a full chapter of advanced best practices for working with exceptions.

 

Wagner’s clear, practical explanations, expert tips, and realistic code examples have made Effective C# indispensable to hundreds of thousands of developers. Drawing on his unsurpassed C# experience, he addresses everything from resource management to multicore support, and reveals how to avoid common pitfalls in the language and its .NET environment. Learn how to choose the most effective solution when multiple options exist, and how to write code that’s far easier to maintain and improve. Wagner shows how and why to

  • Prefer implicitly typed local variables (see Item 1)
  • Replace string.Format() with interpolated strings (see Item 4)
  • Express callbacks with delegates (see Item 7)
  • Make the most of .NET resource management (see Item 11)
  • Define minimal and sufficient constraints for generics (see Item 18)
  • Specialize generic algorithms using runtime type checking (see Item 19)
  • Use delegates to define method constraints on type parameters (see Item 23)
  • Augment minimal interface contracts with extension methods (see Item 27)
  • Create composable APIs for sequences (see Item 31)
  • Decouple iterations from actions, predicates, and functions (see Item 32)
  • Prefer lambda expressions to methods (see Item 38)
  • Distinguish early from deferred execution (see Item 40)
  • Avoid capturing expensive resources (see Item 41)
  • Use exceptions to report method contract failures (see Item 45)
  • Leverage side effects in exception filters (see Item 50)

You’re already a successful C# programmer, and 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.

View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart

In Effective C#, Third Edition, respected .NET expert Bill Wagner identifies 50 ways to harness the full power of the C# 6.0 language to write exceptionally robust, efficient, and well-performing code. Reflecting the growing sophistication of the C# language and its development community, Wagner has identified dozens of new ways to write better code. This edition’s new solutions include some that take advantage of generics and several that are more focused on LINQ, as well as a full chapter of advanced best practices for working with exceptions.

 

Wagner’s clear, practical explanations, expert tips, and realistic code examples have made Effective C# indispensable to hundreds of thousands of developers. Drawing on his unsurpassed C# experience, he addresses everything from resource management to multicore support, and reveals how to avoid common pitfalls in the language and its .NET environment. Learn how to choose the most effective solution when multiple options exist, and how to write code that’s far easier to maintain and improve. Wagner shows how and why to

You’re already a successful C# programmer, and 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.

More books from Pearson Education

Cover of the book The Rails 5 Way by Bill Wagner
Cover of the book Using GIMP by Bill Wagner
Cover of the book C++ Without Fear by Bill Wagner
Cover of the book Enterprise Software Security by Bill Wagner
Cover of the book Absolute Beginner's Guide to Computer Basics by Bill Wagner
Cover of the book JavaScript by Bill Wagner
Cover of the book Microsoft SharePoint 2010 Plain & Simple by Bill Wagner
Cover of the book Pause & Effect: The Art of Interactive Narrative by Bill Wagner
Cover of the book Swift in 24 Hours, Sams Teach Yourself by Bill Wagner
Cover of the book Sams Teach Yourself Google Voice in 10 Minutes by Bill Wagner
Cover of the book Shared Goals, Shared Knowledge, and Mutual Respect = A Shared Mission by Bill Wagner
Cover of the book Adobe Photoshop CS5 Classroom in a Book by Bill Wagner
Cover of the book How to Make Money with Social Media Optimization by Bill Wagner
Cover of the book The Definitive Guide to Marketing Analytics and Metrics (Collection) by Bill Wagner
Cover of the book What Is a Good Beer? by Bill Wagner
We use our own "cookies" and third party cookies to improve services and to see statistical information. By using this website, you agree to our Privacy Policy