DateTime.DaysInMonth(Int32, Int32) メソッド (System)

指定した月および年の日数を返します。