Page Is Loding...

Archive for the ‘C#’ Category

《Effective C#:改善C#程序的50种方法 第2版》Effective C# (Covers C# 4.0): 50 Specific Ways to Improve Your C#, Second Edition

书名:《Effective C#:改善C#程序的50种方法 第2版Effective C# (Covers C# 4.0): 50 Specific Ways to Improve Your C#, Second Edition

《Effective C#:改善C#程序的50种方法 第2版》Effective C# (Covers C# 4.0): 50 Specific Ways to Improve Your C#, Second Edition

作者:Bill Wagner
出版:Addison-Wesley Professional 2010
ISBN:0321658701
格式:PDF 电子书;5MB;352页

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.

《Effective C#:改善C#程序的50种方法 第2版》Effective C# (Covers C# 4.0): 50 Specific Ways to Improve Your C#, Second Edition
下载地址1
下载地址2
下载地址3

Category: C# | Tags: , | No Comments »

《C# 2010捷径教程》Accelerated C# 2010 PDF电子书免费下载

书名:《C# 2010捷径教程Accelerated C# 2010

《C# 2010捷径教程》Accelerated C# 2010 PDF电子书免费下载

作者:Trey Nash
出版:Apress , Jan 2010
ISBN:1430225378
格式:PDF 电子书;5.2MB;450页

C# 2010 offers powerful new features, and this book is the fastest path to mastering them—and the rest of C#—for both experienced C# programmers moving to C# 2010 and programmers moving to C# from another object-oriented language. Many books introduce C#, but very few also explain how to use it optimally with the .NET Common Language Runtime (CLR). This book teaches both core C# language concepts and how to wisely employ C# idioms and object-oriented design patterns to exploit the power of C# and the CLR.This book is both a rapid tutorial and a permanent reference. You’ll quickly master C# syntax while learning how the CLR simplifies many programming tasks. You’ll also learn best practices that ensure your code will be efficient, reusable, and robust. Why spend months or years discovering the best ways to design and code C# when this book will show you how to do things the right way from the start?

  • Comprehensively and concisely explains both C# 2008 and C# 2010 features
  • Focuses on the language itself and on how to use C# 2010 proficiently for all .NET application development.
  • Concentrates on how C# features work and how to best use them for robust, high-performance code

What you’ll learn

  • How C# works with and exploits the CLR
  • How to use arrays, collections, and iterators
  • How to handle events with delegates and anonymous functions
  • How to design and use generic types and methods
  • How to thread efficiently and robustly
  • How C# anonymous types, lamba expressions, and extension methods work and how to use them

Who is this book for?

If you’re an experienced C# programmer, you need to understand how C# has changed with C# 2010. If you’re an experienced object-oriented programmer moving to C#, you want to ramp up quickly in the language while learning the latest features and techniques. In either case, this book is for you. The first three chapters succinctly present C# fundamentals, for those new to or reviewing C#. The rest of the book covers all the major C# features, in great detail, explaining how they work and how best to use them. Whatever your background or need, you’ll treasure this book for as long as you code in C# 2010.

About the Apress Accelerated Series

You already know your industry, but you need to accelerate your skills in a particular area and reach best practices standards in one step. The Apress Accelerated Series of books will ramp you up quickly to industry standards in the area of your choice, by accelerating you through core information and using the professional’s pace to cover best practices and special extras that only a more experienced programmer in the area could give you.

《C# 2010捷径教程》Accelerated C# 2010 PDF电子书免费下载
下载地址1
下载地址2

Category: C# | Tags: , | No Comments »