Date post: | 16-Aug-2015 |
Category: |
Education |
Upload: | naruemon-soonthong |
View: | 1,768 times |
Download: | 3 times |
Introduction to C# Programming
Copy for Education by Naruemon Soonthong
Thank you :) Davide Vitelaru
At this point, your applicationwon‘t do anything. To start youapplication. Press F5 You will see a black windows appearing and closing immediately.
Because it doesExactly what youTold it to do:Nothing.
Let’s “tell” itto open and wait for a keystroke to close.
Write between the braces of
Console.ReadKey();
Make sure you typedEverything correctly.
Also, don’t forget The semicolons at the end.
They are very importantand annoying for beginningthat keep forgetting them.