C# Console WriteLine(Boolean)
Description
Console WriteLine(Boolean)
writes the text representation
of the specified Boolean value, followed by the current line terminator,
to the standard output stream.
Syntax
Console.WriteLine(Boolean)
has the following syntax.
[HostProtectionAttribute(SecurityAction.LinkDemand, UI = true)]
public static void WriteLine(
bool value
)
Parameters
Console.WriteLine(Boolean)
has the following parameters.
value
- The value to write.
Returns
Console.WriteLine(Boolean)
method returns
Example
using System;/* w w w . j a v a 2 s . co m*/
public class Example
{
public static void Main()
{
Console.WriteLine(true);
}
}