Effective C# (Covers C# 4.0): 50 Specific Ways to Improve Your C# (2nd Edition)

Bill Wagner

Моя оценка

C# has matured over the past decade: It’s now a rich language with generics, functional programming concepts, and support for both static and dynamic typing. This palette of techniques provides great tools for many different idioms, but there are also many ways to make mistakes. In Effective C#, Second Edition, respected .NET expert Bill Wagner identifies fifty ways you can leverage the full power of the C# 4.0 language to express your designs concisely and clearly.

Effective C#, Second Edition, follows a clear format that makes it indispensable to hundreds of thousands of developers: clear, practical explanations, expert tips, and plenty of realistic code examples. Drawing on his unsurpassed C# experience, Wagner addresses everything from types to resource management to dynamic typing to multicore support in the C# language and the .NET framework. Along the way, he shows how to avoid common pitfalls in the C# language and the .NET environment. You’ll learn how to

* Use both types of C# constants for efficiency and maintainability (see Item 2)
* Employ immutable data types to promote multicore processing (see Item 20)
* Minimize garbage collection, boxing, and unboxing (see Items 16 and 45)
* Take full advantage of interfaces and delegates (see Items 22 though 25)
* Make the most of the parallel framework (see Items 35 through 37)
* Use duck typing in C# (see Item 38)
* Spot the advantages of the dynamic and Expression types over reflection (see Items 42 and 43)
* Assess why query expressions are better than loops (see Item 8)
* Understand how generic covariance and contravariance affect your designs (see Item 29)
* See how optional parameters can minimize the number of method overloads (see Item 10)

You’re already a successful C# programmer–this book will help you become an outstanding one.

Получить эту книгу или продать свою

Перейти
  • Содержание
  • Дополнительная информация об издании

    ISBN: 9780321658708

    Год издания: 2010

Лучшая рецензия

Смотреть 1
Pongo

Pongo

Рецензии

111

5

В книге собраны 50 отлично аргументированных советов по написанию классного кода. Начиная с общих и заканчивая сложными и специфическими. Это однозначно mustread для c# программистов. Прочитав эту книгу, вы наверняка повысите свой профессиональный уровень.

Читать полностью

Лучшая подборка

Смотреть 1
InnerSelf

InnerSelf

обновлено 12 лет назадПодборки

2K

Эндрю Троелсен - Язык программирования C# 2010 и платформа .NET 4Джеффри Рихтер - CLR via C#. Программирование на платформе Microsoft .NET Framework 2.0 на языке C# - The C# Programming Language
Книги о проектировании, конструировании, тестировании, отладке программного обеспечения для платформы .NET IT подборки (общие): Разработка ПО Архитектура ПО Базы данных и SQL Управление программными проектами IT подборки (языки): Ключевые книги языков программирования Java программисту на русском .NET программисту…

Похожие книги

Вы можете посоветовать похожие книги по сюжету, жанру, стилю или настроению. Предложенные вами книги другие пользователи увидят здесь, в блоке «Похожие книги».

Новинки

Смотреть 339

Популярные книги

Смотреть 956