using System;
class MainClass
{
static void Main()
{
CmdHandler cmdHandler = new CmdHandler();
while(true)
{
cmdHandler.HandleCmd();
}
}
}
using System;
class CmdHandler
{
///////////////////////////
string cmd;
///////////////////////////
public void HandleCmd()
{
GetCmd();
CheckCmd();
}
void GetCmd()
{
cmd = Console.ReadLine();
}
void CheckCmd()
{
switch(cmd)
{
case "help":
Commands.Help.Show();
break;
}
}
}
static class Commands
{
public static class Help
{
public static void Show()
{
Console.WriteLine("help!");
}
}
}