i am converting strings to values using a culture specified to me as a IFormatProvider.
i am trying to figure out which culture they gave me.
i realize that IFormatProvider doesn’t necessarily have to correspond to a System.Globalization.Culture, but it did.
So how can i get its name?
The
CultureInfoclass implementsIFormatProviderso you may try casting: