Effective C# (covers C# 4.0)

Bill Wagner

  • Limba : Engleza
  • Cuprins : Introduction xiii Chapter 1: C# Language Idioms 1 Item 1: Use Properties Instead of Accessible Data Members 1 Item 2: Prefer readonly to const 8 Item 3: Prefer the is or as Operators to Casts 12 Item 4: Use Conditional Attributes Instead of #if 20 Item 5: Always Provide ToString() 28 Item 6: Understand the Relationships Among the Many Different Concepts of Equality 36 Item 7: Understand the Pitfalls of GetHashCode() 44 Item 8: Prefer Query Syntax to Loops 51 Item 9: Avoid Conversion Operators in Your APIs 56 Item 10: Use Optional Parameters to Minimize Method Overloads 60 Item 11: Understand the Attraction of Small Functions 64 Chapter 2: .NET Resource Management 69 Item 12: Prefer Member Initializers to Assignment Statements 74 Item 13: Use Proper Initialization for Static Class Members 77 Item 14: Minimize Duplicate Initialization Logic 79 Item 15: Utilize using and try/finally for Resource Cleanup 87 Item 16: Avoid Creating Unnecessary Objects 94 Item 17: Implement the Standard Dispose P
  • Data Publicarii : 05 Mar 2010
  • Editie : 2 Rev ed
  • Format : Paperback
  • Numar pagini : 352
  • ISBN : 9780321658708
Rating:
172.99 Lei
Disponibilitate : 2-4 saptamani

Acest titlu este disponibil in stocul furnizorilor okian.ro si poate fi livrat in 2-4 saptamani.