Creating the C# input class