Esempio n. 1
0
    public static List <ComboItem> GetCountryRegionList(string textFile, string lang)
    {
        string[] inputCSV = GetStringList(textFile);
        int      index    = GeoLocation.GetLanguageIndex(lang);
        var      list     = GetCBListFromCSV(inputCSV, index + 1);

        list.Sort(Comparer);
        return(list);
    }