Browse by Tags
All Tags »
functional programming (
RSS)
This entry presents an easy short-cut to implementing the Event-based Asynchronous Pattern in your classes, using the functional programming features of C# 3.0. I'm currently building a framework to support a complex smart client application, and...
We all have coding patterns that we like, and use a lot. Some of them can be quite laborious, though, so if you're anything like me you'll be looking for shortcuts. C++ programmers have a powerful macro language that can provide a shorthand for...
Jared Parsons posted about using enums as a simplified version of the adapter pattern. In his code, each time the SomeAction method is called, it runs a switch against the private enum value and calls on to the relevant method. Since C# 3.0 came along...