0
int monthCount = GetMonthCount(comp.PaymentFrequency);
int day = comp.MaturityDate.GetValueOrDefault(DateTime.Today).Day;
DateTime countFrom = comp.EffectiveDate.GetValueOrDefault(DateTime.Today);
return new DateTime(countFrom.Year, countFrom.Month, day).AddMonths(monthCount);
年,月和日參數描述不可表示的日期時間?爲什麼?從DateTime返回時出錯
是什麼這個錯誤會回來嗎? – 2011-02-01 15:54:44
代碼下面的文本是錯誤。 – slandau 2011-02-01 15:55:39