What does IFormatProvider do?

后端 未结 8 2328
一向
一向 2021-01-30 12:27

I was playing around with the Datetime.ParseExact method, and it wants an IFormatProvider...

It works inputting null, but what exactly does it do?

8条回答
  •  死守一世寂寞
    2021-01-30 12:46

    You can see here http://msdn.microsoft.com/en-us/library/system.iformatprovider.aspx

    See the remarks and example section there.

提交回复
热议问题