注意利用枚举和switch开关语句来进行实现 效果: 【实现过程】 static void Main(string[] args) { Console.WriteLine("请输入星期:"); Week week = (Week)byte.Parse(Console.ReadLine())