“c#” Posts

Refactoring a switch statement

In which I chronicle the many ways to refactor a switch statement. And by many I mean two

The Etymology of Lifting

In the exciting world of nullable types, lifting rears its ugly head. But what is it? Is it some weird creature from the deep Lisp? Or is it a benign organism whose only purpose is to satisfy a language designer's nerdity? Follow me, and we'll see just how far down the rabbit hole goes...

Argopt: Command line argument parsing in .NET
Determining if an Open Generic Type IsAssignableFrom a Type
Non-magic property injection in Unity
Configure NHibernate with Embedded Resource
Linq Walk
string.Format() in PHP