Esempio n. 1
0
 public int GetOneDayAmount()
 {
     return(Amount / DateTime.DaysInMonth(
                int.Parse(YearMonth.Substring(0, 4)),
                int.Parse((YearMonth.Substring(4, 2)))));
 }