Skip to content

Effective C# 50 Specific Ways to Improve Your C#

Best in textbook rentals since 2012!

ISBN-10: 0321245660

ISBN-13: 9780321245663

Edition: 2005

Authors: Bill Wagner

List price: $59.99
Blue ribbon 30 day, 100% satisfaction guarantee!
what's this?
Rush Rewards U
Members Receive:
Carrot Coin icon
XP icon
You have reached 400 XP and carrot coins. That is the daily max!

Description:

C# is the premier language for .NET development, and is currently the fastestgrowing programming language. It is already being used by 29% of professionalprogrammers, with that percentage expected to continue increasing rapidly. It isstill a relatively new language, however, and developers are still looking forresources to enable them to use it better. Effective C# covers C# from apractical perspective, and provides insight into using the language moreefficiently. The reader will get information based on years of practical C#experience in real world settings. The format of the book is the same that hasproven immensely popular in other books in Scott Meyers' series. The authorhas a devoted…    
Customers also bought

Book details

List price: $59.99
Copyright year: 2005
Publisher: Addison Wesley Professional
Publication date: 12/3/2004
Binding: Paperback
Pages: 336
Size: 7.00" wide x 9.00" long x 0.75" tall
Weight: 1.430
Language: English

Introduction
Language Elements
Always Use Properties Instead of Accessible Data Members
Prefer readonly to const
Prefer the is or as Operators to Casts
Use Conditional Attributes Instead of #if
Always Provide ToString()
Distinguish Between Value Types and Reference Types
Prefer Immutable Atomic Value Types
Ensure That 0 Is a Valid State for Value Types
Understand the Relationships Among ReferenceEquals(),static Equals(), instance Equals(), and operator==
Understand the Pitfalls of GetHashCode()
Prefer foreach Loops
NET Resource Management
Prefer Variable Initializers to Assignment Statements
Initialize Static Class Members with Static Constructors
Utilize Constructor Chaining
Utilize using and try/finally for Resource Cleanup
Minimize Garbage
Minimize Boxing and Unboxing
Implement the Standard Dispose Pattern
Expressing Designs with C#
Prefer Defining and Implementing Interfaces to Inheritance
Distinguish Between Implementing Interfaces and Overriding Virtual Functions
Express Callbacks with Delegates
Define Outgoing Interfaces with Events
Avoid Returning References to Internal Class Objects
Prefer Declarative to Imperative Programming
Prefer Serializable Types
Implement Ordering Relations with IComparable and Icompare