Guest User

Untitled

a guest
Jul 22nd, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. public class Country
  2. {
  3. public static readonly Country US = new Country("US", "United States", "USD");
  4. public static readonly Country GB = new Country("GB", "Great Britain", "GBP");
  5.  
  6. public string CountryCode { get; private set; }
  7. public string Description { get; private set; }
  8. public string Currency { get; private set; }
  9.  
  10. Country(string countryCode, string description, string currency)
  11. {
  12. CountryCode = countryCode;
  13. Description = description;
  14. Currency = currency;
  15. }
  16. }
Add Comment
Please, Sign In to add comment