Create RegionInfo object : RegionInfo « I18N Internationalization « C# / CSharp Tutorial






using System;
using System.Globalization;

public class MainClass
{
    static void Main() {
        RegionInfo ri = new RegionInfo("x-en-US-metric");
        Console.WriteLine( ri.IsMetric );
    }
}








21.3.RegionInfo
21.3.1.Create RegionInfo object