Reputation: 1051
I know I can use Console.ReadKey();
or Console.ReadLine();
to wait for the user input.
I am following some video tutorials from youTube
There I notice that when the tutor writes some code like
Console.WriteLine("This is a basic C# tutorial");
He gets a message saying Press any key to continue...
So, I want to know how to get the above message without writing any code for displaying the message.
Upvotes: 0
Views: 210