SystemExt.Demo/Terminal.cs
/// <summary>
/// A demo which shows how to use the Prompt class.
/// </summary>
/// <param name="arg">
/// Command line arguments.
/// </param>
/// <returns>
/// The code to terminate the application with on exit.
/// </returns>
A demo which shows how to use the Prompt class.
A demo which shows how to use the Prompt class .
private static int PromptUsage(string[] arg)
        {
            Console.WriteLine("Result: {0}", Prompt.Boolean("Boolean prompt"));
            Console.WriteLine("Result: {0}", Prompt.Float("Float prompt"));
            Console.WriteLine("Result: {0}", Prompt.Integer("Integer prompt"));
            Console.WriteLine("Result: {0}", Prompt.String("String prompt"));
            return 0;
        }
private static int PromptUsage ( string [ ] arg ) { Console . WriteLine ( " " , Prompt . Boolean ( " " ) ) ; Console . WriteLine ( " " , Prompt . Float ( " " ) ) ; Console . WriteLine ( " " , Prompt . Integer ( " " ) ) ; Console . WriteLine ( " " , Prompt . String ( " " ) ) ; return 0 ; }
A demo which shows how to use the Prompt class.
A demo which shows how to use the Prompt class .
The code to terminate the application with on exit.
The code to terminate the application with on exit .
arg
string[]
Command line arguments.
Command line arguments .