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 -- All 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

    • SharedSafe build 1611
    • A personal work and weekend manifest
    • Personal Process Management
    • Why most user interface frameworks don't scale
    • How to avoid wizards
    • License Manager integration
    • Blogging reloaded
    • Making small fonts readable in WPF (.NET 3.5)
    • Deconstructing the I/O of user interfaces
    • The social application framework.
    more