O'Reilly logo

C# in a Nutshell by Peter Drayton, Ted Neward, Ben Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

RegionInfo

Synopsis

This class contains properties for the selected region or country settings. It stores information on the name and standard letter codes for the region, the currency symbol, and whether the metric system is used or not. The region names are the two- and three-letter codes defined in ISO 3166. Currency strings are defined by ISO 4217.

public class RegionInfo {
// Public Constructors
   public method RegionInfo(int culture);  
   public method RegionInfo(string name);  
// Public Static Properties
   public static field RegionInfo CurrentRegion{get; } 
// Public Instance Properties
   public virtual field string CurrencySymbol{get; } 
   public virtual field string DisplayName{get; } 
   public virtual field string EnglishName{get; } 
   public virtual field bool IsMetric{get; } 
   public virtual field string ISOCurrencySymbol{get; } 
   public virtual field string Name{get; } 
   public virtual field string ThreeLetterISORegionName{get; } 

           public virtual field string ThreeLetterWindowsRegionName{get; } 
   public virtual field string TwoLetterISORegionName{get; } 
// Public Instance Methods
   public override method bool Equals(object value);            // overrides object
   public override method int GetHashCode();                     // overrides object
   public override method string ToString();                     // overrides object
}

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required