G
Guest
Hi Everyone,
If I want to format a type with a string format I can call
IFormattable.ToString(strFormat, formatProvider);
Does anyone know of a generic way to parse a string like this?
DateTime.ParseExact has an overload which takes these arguments but I can't
find a way to parse, for example, a number with a format string.
Any ideas? Thanks in advance, Jerry
If I want to format a type with a string format I can call
IFormattable.ToString(strFormat, formatProvider);
Does anyone know of a generic way to parse a string like this?
DateTime.ParseExact has an overload which takes these arguments but I can't
find a way to parse, for example, a number with a format string.
Any ideas? Thanks in advance, Jerry