Is DateTime.ParseExact() faster than DateTime.Parse()

Posted by Nassign on Stack Overflow See other posts from Stack Overflow or by Nassign
Published on 2010-03-24T09:19:18Z Indexed on 2010/03/24 9:23 UTC
Read the original article Hit count: 302

Filed under:
|

I would like to know if ParseExact is faster than Parse.

I think that it should be ParseExact since you already gave the format but I also think all the checking for the Culture info would slow it down. Does microsoft say in any document on performance difference between the two. The format to be used is a generic 'yyyy/MM/dd' format .

© Stack Overflow or respective owner

Related posts about c#

Related posts about datetime