C# Console Write(Boolean)
Description
Console Write(Boolean)
writes the text representation
of the specified Boolean value to the standard output stream.
Syntax
Console.Write(Boolean)
has the following syntax.
[HostProtectionAttribute(SecurityAction.LinkDemand, UI = true)]
public static void Write(
bool value
)
Parameters
Console.Write(Boolean)
has the following parameters.
value
- The value to write.
Returns
Console.Write(Boolean)
method returns
Example
/*ww w . j ava 2s . c o m*/
using System;
public class MainClass{
public static void Main(String[] argv){
System.Console.Write(true);
}
}