Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Country
- {
- public static readonly Country US = new Country("US", "United States", "USD");
- public static readonly Country GB = new Country("GB", "Great Britain", "GBP");
- public string CountryCode { get; private set; }
- public string Description { get; private set; }
- public string Currency { get; private set; }
- Country(string countryCode, string description, string currency)
- {
- CountryCode = countryCode;
- Description = description;
- Currency = currency;
- }
- }
Add Comment
Please, Sign In to add comment