View Single Post
  #3 (permalink)  
Old November 7th, 2009, 01:05 PM
sh_erfan sh_erfan is offline
Authorized User
Points: 100, Level: 1
Points: 100, Level: 1 Points: 100, Level: 1 Points: 100, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2009
Posts: 26
Thanks: 1
Thanked 1 Time in 1 Post
Default

Hi

are you sure your code contains this line at the end:
console.ReadLine();//or console.ReadKey()

This code waits until you press ENTER(or any key if ReadKey() selected) then the console disappears.

but if your code contains the line above and the console diappears it is sth strange.
because I myself use Visual C# 2008 Express Edition and by pressing F5 I have my application running and the console does not diappear until the last line of code is executed(pressing ENTER or any key).

Erfan...