Friday, June 16, 2006

Switching on Nullables

Yesterday, I implemented a cool new feature in GMCS: switching on nullables - you can now write code like this:

<br /> int Test (int? a)<br /> {<br /> switch (a)<br /> {<br /> case 1:<br /> return 1;<br /> case null:<br /> return 2;<br /> default:<br /> return 3;<br /> }<br /> }<br />

And for all you fans of the World Cup 2006 - I am very happy today:

I got two tickets for the Paraguay - Trididad & Tobago game in the Fritz Walter Stadium in Kaiserslautern (I know, the website is in German, click on Bildergalerie to see pictures). That stadium - also called "Betzenberg" - is the home stadium of my favorite team, the 1. FCK (unfortunately, they're not playing in first league anymore next season) - and I already watched a lot of games there in the past ....