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