C# Type Conversion
using System.ComponentModel
public string ConvertToString(Object value);
public string ConvertToString(ITypeDescriptorContext context, Object value);
public string ConvertToString(ITypeDescriptorContext context, CultureInfo culture, Object value);
Internationalization (I18n) Method Overview
Converts the given value to a string representation, using the
specified context and culture information.
For more information see Microsoft's
MSDN online documentation.
I18n Issues
Pass in CultureInfo to ensure that any culture-dependent conversion is done properly.
If you determine that the call is i18n-safe, you can use Globalyzer's
Ignore Comment functionality to ensure that it isn't picked up in a subsequent scan.
C# Type Conversions
|