RE: console application question
From: Chua Wen Ching (chua_wen_ching_at_nospam.hotmail.com)
Date: 09/26/04
- Next message: Chua Wen Ching: "RE: problem shelling devenv"
- Previous message: KennyZ: "RE: Tooltips on AutoComplete pop-up"
- In reply to: vh: "console application question"
- Next in thread: Danny Springer: "Re: console application question"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 26 Sep 2004 06:37:01 -0700
Hi vh,
It only happens on debug mode.. it is common
Just place this line of code at the end of your console app
Console.ReadLine();
or you can choose not to debug, and the window will be there
Have Fun!
Cheers.
"vh" wrote:
> Hi All,
> I am writing a c# console application in VS.net, every time I run the
> program, the console showed and disappeared very quickly, I can't see what
> is displayed. Are there some settings that let the window stay there after
> my program terminates? I know I can write my program to wait for a key
> pressed, or set a break point at the end my main, but are there simpler ways
> out there? It seems a simple problem, but I can't find any settings about
> this.
>
> thanks
> min
>
>
>
- Next message: Chua Wen Ching: "RE: problem shelling devenv"
- Previous message: KennyZ: "RE: Tooltips on AutoComplete pop-up"
- In reply to: vh: "console application question"
- Next in thread: Danny Springer: "Re: console application question"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|