Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to run Console application?
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01395662
Message ID:
01395792
Views:
56
>>Hi everybody,
>>
>>I created a simple console application. When I click F5 in VS I see DOS cmd window, but I see nothing happening even though I added Console.WriteLine at the end.
>>
>>How should I run this application?
>>
>
>The window is probably closing before you can see the results. Add a Console.ReadKey() as the last line so it will wait until you hit a key before closing the window.

Thanks.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform