C#根据年份和月份确定当月的天数

DateTime.DaysInMonth(d.Year, d.Month);
原文地址:https://www.cnblogs.com/weiweiting/p/3870675.html