views:

382

answers:

3

I need to know how can I get the list of country codes for mobile purposes, for eg, I am living in Singapore and my country code is (65). If I want to send a sms or call a number, I will specify +65 98287222.

Edited: Is there any codes available to populate this list of country calling codes?

I am using C#, windows application.

Help is greatly appreciated.

+3  A: 

There's a huge list of country calling codes on Wikipedia which you could use.

Mark Byers
Is there any functions that can auto populate these codes?
Daniel
+1  A: 

here is a link you may find useful http://www.countrycodes.com/call.php

Kieran
A: 

A Bing search turns up all sorts of places where you can download a list. I bet adding "Web Service" to the search criteria would return a bunch of web services you can call to get the list.

http://www.bing.com/search?q=country+codes+list&src=IE-SearchBox&FORM=IE8SRC

Edit - added

Yep. Adding "Web Service" found better links. Here's the first:

http://www.webservicex.net/country.asmx

David Stratton