Recent posts

FastArg: quick and extendable command-line argument handling in C#

Having an application handle or parse command-line arguments is a very common task. Today I present a generic solution which greatly simplifies doing so, and which can be reused in any project. FastArg allows you to tie switches to delegates that handle them, and relieves you of the task of parsing the arguments yourself. It also has a few neat features which improve usability.  read full post

Windows Phone 8 experiences

I’ve never written anything about Windows Phone before on my blog, despite the fact that I’ve owned a Windows phone for the last 3 years. Unfortunately, that phone was a HTC Touch2 running Windows Mobile 6.5, so perhaps it’s for the best that I have remained quiet because let’s face it: Windows Mobile 6.5 is a pretty crappy phone OS. So why did I put up with it for three years? Well, laziness, mostly… But enough about that, because all that’s in the past and now it’s Windows Phone 8 time!  read full post

...and we're back!

So as you may or may not (probably not) have noticed, my site’s been off the air for the last few weeks. But despair no more, for it is back! Like a phoenix reborn from the ashes, it begins anew. Stronger, better, and faster, it burns with the almighty fury of ten thousand suns.  read full post

Project Euler: Problem 21

The last two Euler problems were rather anticlimactic, so let’s just keep going.  read full post

Project Euler: Problem 20

The last Euler problem was pretty trivial, so let’s hope problem number 20 is more interesting…  read full post

Project Euler: Problem 19

Let’s do another Euler problem, shall we?  read full post

C# features: async and await

My recent upgrade to Visual Studio 2012 means I now also have the new features in .NET version 4.5 to play with. The one I was most exited about was the async/await pair of keywords introduced to C#. These two keywords aim to offer a relatively simple way of doing asynchronous programming, without all the headaches this sort of thing normally creates. Today I’ll go over the syntax and semantics of these two new keywords.  read full post