我正在使用“MM / dd / yy”更新一些将日期格式化为字符串的代码。 我需要它是文化意识,但希望保持两位数的年份,以保持日期短。 以下是我提出的建议,但有更好的方法吗? string dateFormat = culture_Info.DateTimeFormat.ShortDatePattern.Replace(“yyyy”, “yy”);