Thread: pause program at console

  1. #1
    Registered User datainjector's Avatar
    Join Date
    Mar 2002

    pause program at console

    Well i just started C# and how would i pause the programm so that the console wont just show and go e.g

    system( "pause"); // for c and c++

    whats for c# thanks and yeah good books for c sharp yhe ones that tell ya how to make win32 apps not console ..

  2. #2
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Hannover, Germany
    You can use Console.Read() to wait for a keypress.

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. MSVC++2008 console program portability
    By CodeMonkey in forum Windows Programming
    Replies: 1
    Last Post: 11-18-2008, 03:13 AM
  2. Program the Console Buffer into FULLSCREEN
    By IrishSlasher in forum Windows Programming
    Replies: 1
    Last Post: 11-06-2002, 03:18 AM
  3. fopen();
    By GanglyLamb in forum C Programming
    Replies: 8
    Last Post: 11-03-2002, 12:39 PM
  4. my first windows console program
    By Syneris in forum Windows Programming
    Replies: 3
    Last Post: 04-08-2002, 03:18 PM
  5. DOS program versus DOS console program
    By scromer in forum A Brief History of
    Replies: 4
    Last Post: 01-10-2002, 01:42 PM