In my conversion method, I get the wrong number separators when I use TypeConverter.ConvertToString(Object) because my system is in German. There is another overload for this method, which looks like this: TypeConverter.ConvertToString(ITypeDescriptorContext, CultureInfo, Object) .
Is there any reasonable way to get ITypeDescriptorContext or another option to call this method using InvariantCulture besides switching the culture before and after?
thalm
source share