replicator.org ... raising the abstraction.

  • Tweets!
  • C# Hacks
  • Quotes
Home

C# Hacks

25 November, 2008 - 13:04 — armin

This is a collection of simple and smart hacks for C# version 3.

  • 01 DisposeAction
  • 02 string.Format() extension method.
  • 03 Tired of for(int i = 0; i != array.Length; ++i)?
  • 04 Context Stacks
  • 05 Deriving a Setter from a Lambda Getter
  • 06 Lazy Initialization of Dictionaries
  • 07 Lazy Initialization of Fields
  • 08 Exception Paranoia
  • 09 Clones everywhere
  • 10 Separating the "synchronization concern"
  • 11 Refactoring friendly WPF dependency properties
  • 12 Pre-construction time field injection
01 DisposeAction ›
  • Add new comment
Copyright (c) 2004-2010 Armin Sander -- Some rights reserved.
  • Ask me anything
  • C# Hacks
  • Collected Quotes
  • About me, a FAQ
  • A Public Statement
  • Component Matrix
  • Site slogans
  • Some older articles
  • Facts and principles

    Recent blog posts

    • Making small fonts readable in WPF (.NET 3.5)
    • Deconstructing the I/O of user interfaces
    • The social application framework.
    • Creating and learning, flow-ers and dancers.
    • Software Post-Production
    • How to shutdown explorer.exe gracefully from C++.
    • Scalability versus Feature
    • Interactive Forms, a new user interface era has just begun
    • Experiment: My first IoC container
    • Reference inversion and why collections must die!
    more