/// <summary> /// Method for reading a string. /// </summary> /// <param name="prompt">The prompt.</param> /// <returns>A string.</returns> public static string ReadString(string prompt) { Output.DisplayPrompt(prompt); return(Console.ReadLine()); }
/// <summary> /// Method for reading an integer. /// </summary> /// <param name="prompt">The prompt.</param> /// <param name="min">Min value.</param> /// <param name="max">Max value.</param> /// <returns>An integer.</returns> public static int ReadInt(string prompt, int min, int max) { Output.DisplayPrompt(prompt); return(ReadInt(min, max)); }