Yet another C# solution

I would like to participate in this interesting contest :)