Skip to Main Content
C# in a Nutshell
book

C# in a Nutshell

by Ben Albahari, Ted Neward, Peter Drayton
March 2002
Intermediate to advanced content levelIntermediate to advanced
864 pages
31h 8m
English
O'Reilly Media, Inc.
Content preview from C# in a Nutshell

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
}
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

C# 8.0 in a Nutshell

C# 8.0 in a Nutshell

Joseph Albahari, Eric Johannsen
C# 10 in a Nutshell

C# 10 in a Nutshell

Joseph Albahari
C# in a Nutshell, Second Edition

C# in a Nutshell, Second Edition

Peter Drayton, Ben Albahari, Ted Neward
Code like a Pro in C#

Code like a Pro in C#

Jort Rodenburg

Publisher Resources

ISBN: 0596001819Catalog PageErrata