try
{
Console.WriteLine("*********欢迎进入奖客富翁系统****************************************************");
Console.WriteLine(" 1.注册");
Console.WriteLine(" 2.登录");
Console.WriteLine(" 3.抽奖");
Console.WriteLine("************************************************************************************");
Console.WriteLine("请选择菜单:");
int menu = Convert.ToInt32(Console .ReadLine ());
switch (menu)
{
case 1:
Console.WriteLine("奖客富翁系统>注册");
break;
case 2:
Console.WriteLine("奖客富翁系统>登录");
break;
case 3:
Console.WriteLine("奖客富翁系统>抽奖");
break ;
}
}
catch
{
Console.WriteLine("您输入的有误!");
}
Console.ReadKey();
网友评论