HAPPY BOOKSGIVING
Use code BOOKSGIVING during checkout to save 40%-55% on books and eBooks. Shop now.
Home > Topics > Programming > C#
Published Nov 23, 2023 by Addison-Wesley Professional
Published Nov 18, 2022 by Addison-Wesley Professional
Published Apr 11, 2022 by Microsoft Press
Published Nov 15, 2021 by Addison-Wesley Professional
This chapter from Essential C# 6.0, 5th Edition introduces the basics of object-oriented programming using C#. A key focus is on how to define classes, which are the templates for objects themselves.
Concluding his series on new and improved features in C# 6, Bill Wagner, author of Effective C#: 50 Specific Ways to Improve Your C#, Second Edition, discusses new syntax for static methods that will really de-clutter your code, along with improved overload resolution that reduces ambiguity by helping the compiler to make better method-overload choices.
Did you think await was allowed everywhere in earlier versions of C#? You're not alone. Now that the keyword is available in catch and finally clauses, Bill Wagner, author of Effective C#: 50 Specific Ways to Improve Your C#, Second Edition, shows how to use the advantages await offers in exception-processing scenarios.
Bill Wagner, author of Effective C#: 50 Specific Ways to Improve Your C#, Second Edition, shares the details of two enhancements in C# 6 for initializing collections, which read more naturally and bring associative containers into parity with sequence containers' initialization syntax.