NumberFormatInfo.Native Digits
using System;
using System.Globalization;
using System.Threading;
class Sample
{
public static void Main()
{
CultureInfo currentCI = Thread.CurrentThread.CurrentCulture;
NumberFormatInfo nfi = currentCI.NumberFormat;
string[] nativeDigitList = nfi.NativeDigits;
Console.WriteLine("The native digits for the {0} culture are:", currentCI.Name);
foreach (string s in nativeDigitList)
{
Console.Write("\"{0}\" ", s);
}
}
}
Related examples in the same category