code in c# as well as the resulting code from going through the tutorial