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