C# Console WriteLine(String)
Description
Console WriteLine(String)
writes the specified string
value, followed by the current line terminator, to the standard output stream.
Syntax
Console.WriteLine(String)
has the following syntax.
[HostProtectionAttribute(SecurityAction.LinkDemand, UI = true)]
public static void WriteLine(
string value
)
Parameters
Console.WriteLine(String)
has the following parameters.
value
- The value to write.
Returns
Console.WriteLine(String)
method returns
Example
using System;//from w w w . j av a 2s . c o m
public class MainClass{
public static void Main(string[] args) {
Console.WriteLine("java2s.com");
}
}