示例#1
0
        // converts a simple list of string to a list of long
        static public List <long> FileToListLong(string fileName)
        {
            List <string> pulledList = ReadDataFile.FileToListSimple(fileName);

            return(pulledList.Select(long.Parse).ToList());
        }
示例#2
0
        // converts a simple list of string to a list of ints
        static public List <int> FileToListInt(string fileName)
        {
            List <string> pulledList = ReadDataFile.FileToListSimple(fileName);

            return(pulledList.Select(int.Parse).ToList());
        }