doing this using C# compiler microsoft visual studio 2012