Exemple #1
0
        // support methods


        public static List <string> LoadStrings(string fileName,
                                                Options options)
        {
            List <string> strings = new List <string>();

            if (CommonIO.Exists(fileName, options) == true)
            {
                string[] strs = CommonIO.ReadAllLines(fileName, options);
                foreach (string s in strs)
                {
                    strings.Add(s);
                }
            }

            return(strings);
        }