Code:
Public Shared Function CountryCode() As String
[b]Return RegionInfo.CurrentRegion.ThreeLetterISORegionName[/b]
End Function
here I have just put it as a function.
maybe you can find a good use for this.
As I have still seen people using 10s of line of code for something that can be done in 1 line.
Thanks bro. Ive never seen this used before
Wow, thanks for the share BlaiR.. I will use this
Wow, I didn't know this was so simple. Thanks for the share, might have to use this in my future projects.
Nice and simple thanks :3
You May Also Use.
Code:
RegionInfo.CurrentRegion.EnglishName
To Return "United Kingdom", "Canada" Etc.
Thanks for this share Blair
I love this, I use it all the time
And, you put BBCode inside the code :/
This is easy as hell , thank you for sharing