29 lines
775 B
C#
29 lines
775 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace ln.type.data
|
|
{
|
|
class Country
|
|
{
|
|
public static Country US = new Country("us", "1", "Vereinigte Staaten von Amerika");
|
|
public static Country DE = new Country("de", "49", "Deutschland");
|
|
public static Country AT = new Country("au", "43", "Österreich");
|
|
public static Country CH = new Country("ch", "41", "Schweiz");
|
|
|
|
public string ISO { get; }
|
|
public string PhonePrefix { get; }
|
|
public string Name { get; }
|
|
|
|
public Country(string iso,string phone,string name)
|
|
{
|
|
this.ISO = iso.ToUpper();
|
|
this.PhonePrefix = phone;
|
|
this.Name = name;
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|