create a class to get int input c# code example Example: c# input Console.Write("words"); input = Console.ReadLine();