Effective C# (Covers C# 4.0): 50 Specific Ways to Improve Your C#, Second Edition
- 中文名:
- Effective C#:改善C#程序的50种方法 第2版
- 类型:
- 程序和Web开发
- 文档信息:
- 4.9 MB pdf格式
- 添加日期:
- 2010-05-13
- 收藏和分享Effective C#:改善C#程序的50种方法 第2版:
- Effective C#:改善C#程序的50种方法 第2版(Effective C# (Covers C# 4.0): 50 Specific Ways to Improve Your C#, Second Edition)简介:
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.
相关书籍
- 《揭秘C++:自学指南》C++ Demystified: A Self-Teaching Guide
- 《实战C语言和数据结构》C and Data Structures by Practice
- 《JavaFX 特效》JavaFX Special Effects
- 《编程入门:Python语言入门指南》Head First Programming: A Learner’s Guide to Programming Using the Python Language
- 《云计算》Cloud Computing, A Practical Approach
- 《傻瓜书之SQL 第7版》SQL For Dummies, 7th Edition
- 《Google App Engine 编程》Programming Google App Engine
- 《你好,Android:谷歌移动开发平台介绍》Hello, Android: Introducing Google’s Mobile Development Platform
- 《Objective-C 2.0编程》Programming in Objective-C 2.0
- 《深入理解计算机系统》Computer Systems: A Programmer’s Perspective
下载地址