Class Countries_ISO3166_1
Performs mapping and normalization of ISO country codes between 2 and 3 digit form, for examle 'US' and 'USA'
Inheritance
System.Object
Countries_ISO3166_1
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Azos.Standards
Assembly: Azos.dll
Syntax
public static class Countries_ISO3166_1
Methods
Normalize2(String, String)
Declaration
public static string Normalize2(string code, string def = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | code | |
System.String | def |
Returns
Type | Description |
---|---|
System.String |
Normalize3(String, String)
Declaration
public static string Normalize3(string code, string def = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | code | |
System.String | def |
Returns
Type | Description |
---|---|
System.String |
ToAlpha2(String, String)
Declaration
public static string ToAlpha2(string alpha3, string def = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | alpha3 | |
System.String | def |
Returns
Type | Description |
---|---|
System.String |
ToAlpha3(String, String)
Declaration
public static string ToAlpha3(string alpha2, string def = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | alpha2 | |
System.String | def |
Returns
Type | Description |
---|---|
System.String |