如果我们使用该ParseExact方法使用指定的格式进行精确的日期时间解析,为什么我们需要提供IFormatProvider对象?它的背后有什么意义?
ParseExact
例如:
DateTime.ParseExact(dateString, format, provider);
我们为什么需要provider这里?
provider
c# datetime iformatprovider
c# ×1
datetime ×1
iformatprovider ×1