try
{
Console.WriteLine("*******欢迎进入抽奖系统*******");
Console.WriteLine(@" 1.注册
2.登录
3.抽奖");
Console.WriteLine("***************************");
Console.Write("选择是:");
string num = Console.ReadLine();
switch (num)
{
case "1":
Console.WriteLine("[富豪系统>注册]");
break;
case "2":
Console.WriteLine("[富豪系统>登录]");
break;
case "3":
Console.WriteLine("[富豪系统>抽奖]");
break;
default:
Console.WriteLine("输入错误");
break;
}
}
catch
{
Console.WriteLine("输入错误");
}
Console.ReadKey();