replicator.org ... continuous garbage collection

Home

C# Hacks

26 November, 2008 - 00: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
  • Tweet
Copyright (c) 2004-2011 Armin Sander -- All rights reserved.

Projects

  • BrainSharper…
  • SharedSafe…
  • LightConcept…
  • ScreenEstate
  • Konstruktor
  • C# Hacks
  • Quotes

Connect

  • Follow @pragmatrix
  • Pinboard
  • About
  • Ask Anything
  • Site slogans

    Recent blog posts

    • Learn to Unlearn
    • A First Look at DART, The Programming Language
    • Why I do not like Windows 8 (aka Metroface)
    • Two Classes of User Interface Details
    • BrainSharper: Visual Presenter
    • BrainSharper Development Update: View Culling
    • When will the company die?
    • One bad day with WPF
    • Unintended Consequences
    • BrainSharper - Going Generic
    more