摘要: class Program { static void Main(string[] args) { //退出条件 bool exit = true; //一直循环直到退出条件为fals while (exit) { //goto到开始 start: Console.WriteLine("Enter a even number:"); string a = Console.ReadLine(); int E; //移除首尾空白并转换为小写 if (a.ToLower().Trim() == "exit") { //退出 exit = false; } // 阅读全文
posted @ 2010-05-21 18:46 深海大虾 阅读(306) 评论(0) 推荐(0)