Hi,
I'm wondering what is the difference for application between those two calls, in means of resulting DateTime object, whether TryParseExact will succeed, and result of ToString operation:
DateTime.TryParseExact(value, "MMM yyyy", DateTimeFormatInfo.InvariantInfo, DateTimeStyles.None, out conversionResult)
DateTime.TryParseExact(value, "MMM yyyy", null, DateTimeStyles.None, out conversionResult)
and those two calls:
conversionResult.ToString("d M yyyy", DateTimeFormatInfo.InvariantInfo)
conversionResult.ToString("d M yyyy")
I know that providing null will cause usage of thread culture info...
I just can't work out what is the reason for specyfing Culture info when I explicitly provide format, without separators etc...
Thanks, Paweł