C# Console WriteLine()
Description
Console WriteLine()
writes the current line terminator
to the standard output stream.
Syntax
Console.WriteLine()
has the following syntax.
[HostProtectionAttribute(SecurityAction.LinkDemand, UI = true)]
public static void WriteLine()
Returns
Console.WriteLine()
method returns
Example
using System;/*from w ww. j a v a2s .c o m*/
public class Example
{
public static void Main()
{
Console.WriteLine("With the default new line characters:");
Console.WriteLine();
Console.WriteLine();
Console.WriteLine("With redefined new line characters:");
}
}