예제 #1
0
        //GET (ALL FILES) IN DEFAULT FOLDER
        public string[] GetFilesInDefaultFolder()
        {
            TransactionDB transactionDB = new TransactionDB();

            string[] files = transactionDB.GetFilesInDefaultFolder("*.csv");

            return(files);
        }
예제 #2
0
        //TEST RETURN ALL FILES IN FOLDER
        public void TestGetFilesInFolder()
        {
            TransactionDB transactionDB = new TransactionDB();

            string[] files = transactionDB.GetFilesInDefaultFolder("*.csv");

            for (int i = 0; i < files.Length; i++)
            {
                Console.WriteLine(files[i]);
            }
        }