View Single Post
Old 07-14-2006, 08:19 PM   #2 (permalink)
mordero
Forum Expert
 
mordero's Avatar
 
Join Date: Nov 2003
Location: Illinois, USA
Age: 22
Posts: 2,911
Default

just add a Console.ReadLine()
Code:
using System;
using System.Collections.Generic;
using System.Text;
namespace CreateFileLoop
{
    class Program
    {
        static void Main(string[] args)
        {
            for (int i = 1; i <= 5; i++)
            {
                Console.WriteLine(i);
            }
            Console.ReadLine();
        }
    }
}

Last edited by mordero; 07-14-2006 at 08:23 PM.
mordero is offline   Reply With Quote