GetweekByDay;
DateTime dt = new DateTime(year, month, 1);功能获得这当年该月1日是星期几
为了实现日期排列顺序;
using System;
namespace Day2Demo01year
{
class Program
{
static void Main(string[] args)
{
Console.Title = "万年历";
Console.WriteLine("请输入年份:");
int year = int.Parse(Console.ReadLine());
Console.WriteLine("请输入月份:");