Job Recruitment Website - Property management company - C#。 Net, what does this sentence mean? Thank you very much for your help in writing notes.

C#。 Net, what does this sentence mean? Thank you very much for your help in writing notes.

public void GetCostEndDate()

//It is recommended to get the GetCostEndDate method.

{

//Calculation of due date of property fee

Integer year = date and time. Now Year;

//Declare that the year equals the date and time. Now Year;

Int Months = date and time. Now Month+integer. Analysis (YHMonths. Text);

//Declare that Months equals datetime.now.month+int.parse (yhmonths.text);

If (month & gt 12)// If the month is greater than 12,

{

int new year = Months/ 12; //NewYear is equal to 12.

Months = Months % 12; //The number of months is equal to the number of months divided by 12.

Year = year+new year; //Years equals Years plus NewYear.

}

Cost _ End _ Date = Year. ToString() + "-" + string。 Format ("{0:D2}", month);

//Cost_End_Date is equal to years.tostring ()+"-"+string.format ("{0: d2}", month);

cost _ end date . text = years . tostring()+" year "+Months。 ToString()+" month ";

//Cost_EndDate。 Text equals year. ToString()+"year"+Months。 ToString()+" month ";

}