Search code examples
c#.netmappingcountry-codes

Mapping between ISO and Olympic country codes?


I have to perform mapping between ISO 3166-1 alpha-3 and IOC country codes.

It looks like there is no way to do this natively via .NET framework. But could be that I'm missing something.

Most likely I would need to create some dictionary to perform this mapping. Does anybody know some library/open-source project/xml feed/etc where I can find this mappings handy?


Solution

  • Wikipedia also provides comparison table. You can easily convert this data into whatever format you want, considering it have stable format and is easily parsed.