Application convert data from CSV (Comma-separated values) file to C# Dictionary structure (Key / Value pairs).
Application use data with comma or semicolon separator. Attributes may or may not be in quotes. Only the first two attributes will be used. Application allows you to save output as a *.txt file.
Tip: You can create a CSV file for example in Excel, save the document in CSV format and convert it to Dictionary structure
Output example
Dictionary d = new Dictionary()
{
{"Afghanistan", "AF"},
{"Albania", "AL"},
{"Algeria", "DZ"},
{"Zambia", "ZM"},
{"Zimbabwe", "ZW"}
}
You can change character set code pages:
windows-1250 Central European
windows-1251 Cyrillic
windows-1252 Western European
windows-1253 Greek
windows-1254 Turkish
windows-1255 Hebrew
windows-1256 Arabic
windows-1257 Baltic
windows-1258 Vietnamese