Internationalization and localization tools


Culture-Sensitive C# Method

using System

public static char ToChar(bool value);
public static char ToChar(byte value);
public static char ToChar(char value);
public static char ToChar(DateTime value);
public static char ToChar(decimal value);
public static char ToChar(double value);
public static char ToChar(short value);
public static char ToChar(int value);
public static char ToChar(long value);
public static char ToChar(Object value);
public static char ToChar(sbyte value);
public static char ToChar(float value);
public static char ToChar(string value);
public static char ToChar(ushort value);
public static char ToChar(uint value);
public static char ToChar(ulong value);

public static char ToChar(Object value, IFormatProvider provider);

public static char ToChar(string value, IFormatProvider provider);

Internationalization (I18n) Method Overview

The ToChar method converts the passed in parameter to its equivalent Unicode character.

For more information see Microsoft's MSDN online documentation.

I18n Issues

To ensure that culture-sensitive formatting is done properly, call the versions that pass in the Culture (IFormatProvider).

C# Type Conversions

 

Lingoport internationalization and localization services and software