In the MSDN I've read this about EnumConverter:
You should never create an instance of an EnumConverter. Instead, call the GetConverter method of the TypeDescriptor class. For more information, see the examples in the TypeConverter base class.
Does anybody know why and is it true for my own implemented converters?
For example, I have class GradientColor and converter GradientColorConverter. Should I write
new GradientColorConverter().ConvertFrom(colorString)
or
TypeDescriptor.GetConverter(typeof(GradientColor)).ConvertFrom(colorString);
Actually It works in both ways, but which is better?