Attempts to read a line of characters from the standard input stream.
This may incur an exception, so for precise control it is better to use the Read method.
The line of text is deemed complete when the user has pressed enter, or the current sequence of characters has been terminated by line feed/throw characters if reading from a file. Only the characters (if any) before the carriage return (13) or line feed (10) characters are returned.
Static methods are not methods of an object - they are simply class functions or procedures available at any time.|
|Microsoft MSDN Links|
| Author links|
Buy Website Traffic at
Buy Proxies at
|A simple example|
name : String;
Console.WriteLine('Please enter your name : ');
name := Console.ReadLine;
Console.WriteLine('Thanks ' + name);
Please enter your name :|