c# version of program