A C# has-been returns to C# and experiments with this new hip thing called async/await and how that relates to execution order and exceptions.
A not so simple C# method that makes JSON look pretty.
For several years I’ve had a little “utility” function that I’ve used in several projects that I use to convert property names into strings. The method uses "static reflection" to figure out the name of a property that the lambda expression returns the value of.
I love C#. Jon Skeet's C# in Depth has given me even more reason for loving the language. A small example is a nice little way of not having to specify generic type parameters when creating objects of a type with type parameters.
A guide to listening to keyboard and mouse input events from Windows users, including downloadable example code.
Today I attended an excellent workshop about Scala development held by Ted Neward. During the session Ted demonstrated a different, functional, aspect of the Inversion of Control concept which he illustrated in Scala. Since it’s fully possible to do the same thing in C# I thought would borrow and modify his example to show a different type of Inversion of Control.
Simplify conditional code using the "delegate dictionary" pattern.
"It turns out that something as simple as calculating a the first day of a week is trickier than one might expect, at least if we want a solution that works for all cultures."