public static void factor() { factorer userFactor = new factorer(); Console.WriteLine("Enter a number you would like the factors of"); int userEntry = Convert.ToInt32(Console.ReadLine()); userFactor.Factor(userEntry); }