-
Notifications
You must be signed in to change notification settings - Fork 0
/
MHPCountry.cs
46 lines (37 loc) · 1.01 KB
/
MHPCountry.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MHPCountries {
public class CountryItem {
private int m_iso = 0;
private string m_name = "";
private string m_alpha2 = "";
private string m_alpha3 = "";
public CountryItem() {
}
public CountryItem(int _iso, string _name, string _alpha2, string _alpha3) {
m_iso = _iso;
m_name = _name;
m_alpha2 = _alpha2;
m_alpha3 = _alpha3;
}
public int Iso {
get { return m_iso; }
set { m_iso = value; }
}
public string Name {
get { return m_name; }
set { m_name = value; }
}
public string Alpha2 {
get { return m_alpha2; }
set { m_alpha2 = value; }
}
public string Alpha3 {
get { return m_alpha3; }
set { m_alpha3 = value; }
}
}
}