Beispiel #1
0
        public static List <string> ReadTxt(string fileName, DateTime dateDebut, DateTime dateFin)
        {
            if (!File.Exists(fileName))
            {
                return(new List <string>());
            }

            List <string> l = new List <string>();

            using (TxtFileReader reader = new TxtFileReader(fileName))
            {
                l = reader.ReadRow(dateDebut, dateFin);
            }
            return(l);
        }
Beispiel #2
0
        public static List <string> ReadTxt(string fileName)
        {
            if (!File.Exists(fileName))
            {
                return(new List <string>());
            }

            List <string> l = new List <string>();

            using (TxtFileReader reader = new TxtFileReader(fileName))
            {
                l = reader.ReadRow();
            }
            return(l);
        }