• Advertisement
Sign in to follow this  

c# help

This topic is 4259 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello. will someone please explain how to keep the screen from going away when using C# to write hello world?

Share this post


Link to post
Share on other sites
Advertisement
Try putting a break point after the print statement. Assuming you're using Visual C#, just double click in the left margin.

Share this post


Link to post
Share on other sites
I take it by "going away" you mean it exits right after outputting "hello world". Just add System.Console.ReadLine() or something similar before the return statement.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement