Last active
September 22, 2017 21:53
-
-
Save ugurhasar/cfd92a4bc7bb54a7102a2743f510cace to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C# Country info enums |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Return a string of the country name "Turkey" | |
Country.Info.Turkey.GetCountryName(); | |
// Return a string of the country name "TR" | |
Country.Info.Turkey.GetCountryCode(); | |
// Return a string of the country name "Lira" | |
Country.Info.Turkey.GetCurrency(); | |
// Return a string of the country name "TL" | |
Country.Info.Turkey.GetCurrencyCode(); | |
// Return a string of the country name "+90" | |
Country.Info.Turkey.GetPhoneCode(); | |
// Returns Info enum. | |
Country.GetEnum("Turkey").GetCountryName(); | |
// Returns Info enum | |
Country.GetEnum("TR").GetCountryName(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment