Created the solution in C#.