using (Stream stream = Assembly.GetExecutingAssembly().GetManifestResourceStream("WAT.AppCode.countries.tsv")) { StreamReader streamReader = new StreamReader(stream, false); string text; while ((text = streamReader.ReadLine()) != null) { if (text.Length != 0) { CountryEntry cii = new CountryEntry(text); this.Add(cii); } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)