改成CurrentInfo 也可,但结果有所不同
Response.Write(DateTime.Parse("1/2/3",DateTimeFormatInfo.CurrentInfo ));
Response.Write(DateTime.Parse("1/2/3",DateTimeFormatInfo.InvariantInfo));因为InvariantInfo和CurrentInfo都是静态的static ,所以可以如此调用
同理ShortDatePattern 或其他均不可