public static FormattedDayMonth ( this dayMonth ) : string | ||
dayMonth | this | |
return | string |
public static string FormattedDayMonth(this int dayMonth)
{
var result = dayMonth.ToString();
if (result.Length == 1)
result = "0" + result;
return result;
}