Added C#/.NET 4.5 code for homework 8 by stochastictinker