Removed "Command'X'" naming convention.
Added basis verb-like naming convention.
I changed the naming convention and altered the commands offered to make the console program demonstrate more realistic scenarios. They are still very basic, however.
[Description("Outputs to the console the command has been completed.")]
[Description("Outputs a message indicating this programis running okay.")]
[Parameters("None")]
[Usage("CW_Console> Command1")]
publicstaticstringCommand1()=>"Command1 has completed";
[Usage("CW_Console> Test")]
publicstaticstringTest()=>"Test complete.";
[ListCommand()]
[Description("Repeats back to the user the string they entered.")]
[Parameters("<string> input")]
[Usage("CW_Console> Command2 \"Hello, World.\"")]
publicstaticstringCommand2(stringinput)=>$"Command2 has completed... {input} was entered";
[Usage("CW_Console> Say \"Hello, World.\"")]
publicstaticstringSay(stringinput)=>$"{input}";
[ListCommand()]
[Description("Repeats back to the user what int they entered.")]
[Parameters("<int> int1")]
[Usage("CW_Console> Command3 31")]
publicstaticstringCommand3(intinput)=>$"Command3 has completed... The number {input} was entered";
[Description("Displays the date and time at the moment the command is entered")]
[Parameters("None")]
[Usage("CW_Console> GetDate")]
publicstaticstringGetDate()=>$"{DateTime.Now}";
[ListCommand()]
[Description("Takes the two ints and adds them together.")]
[Parameters("<int> int, <int> int2")]
[Usage("CW_Console> Command4 31 10")]
publicstaticstringCommand4(intint1,intint2)=>$"Command4 has completed... {int1} and {int2} was entered and make {int1 + int2} when added together";
[ListCommand()]
[Description("Take the int and double and adds them together.")]
[Parameters("<int> int1, <double1> double1")]
[Usage("CW_Console> Command5 31 25.4")]
publicstaticstringCommand5(intint1,doubledouble1)=>$"Command5 has completed... {int1} and {double1} was entered and make {int1 + double1} when added together";