1、创建日期ComDate类,包含3个整型属性:Year、Month、Day,分别用于表示完整日期中的年、月、日,要求对

日期:2011-11-02 22:18:11 人气:1

1、创建日期ComDate类,包含3个整型属性:Year、Month、Day,分别用于表示完整日期中的年、月、日,要求对

static void Main(string[] args) { Console.WriteLine("请输入年份:"); int year = int.Parse(Console.ReadLine()); Console.WriteLine("请输入月份:"); int month = int.Parse(Console.ReadLine()
    A+
热门评论