finished c# example