c# version

Just thought I'd leave this here.