Esempio n. 1
0
        static void Main(string[] args)
        {
            //C:\Users\David\Documents
            string path = "C:\\Users\\David\\Documents\\longwatchlist.txt";
            ranStrings = new GenRadomStrings();

            for (int i = 0; i < 300000; i++)
            {
                string ranString = ranStrings.GetNextString();
                string numStr = ranString + ", comment text fasdfasdfsf" + Environment.NewLine;
                File.AppendAllText(path, numStr);
                if (i % 10000 == 0) Console.WriteLine("progress: " + i.ToString());
            }

            Console.WriteLine("Done : "+ path);
        }
Esempio n. 2
0
        static void Main(string[] args)
        {
            //C:\Users\David\Documents
            string path = "C:\\Users\\David\\Documents\\longwatchlist.txt";

            ranStrings = new GenRadomStrings();

            for (int i = 0; i < 300000; i++)
            {
                string ranString = ranStrings.GetNextString();
                string numStr    = ranString + ", comment text fasdfasdfsf" + Environment.NewLine;
                File.AppendAllText(path, numStr);
                if (i % 10000 == 0)
                {
                    Console.WriteLine("progress: " + i.ToString());
                }
            }

            Console.WriteLine("Done : " + path);
        }