Writes the text representation of a specified object to the Console.OutSystem.IO.TextWriter .
- value
- The object to write. If value is null , string.Empty is written.
Type Reason System.IO.IOException An I/O error occurred.
This version of Console.Write(string, object) is equivalent to Console.Out.Write( value.ToString () ).
Note: If value is null, no exception is thrown and nothing is written. Otherwise, the object's object.ToString method is called to produce the string representation, and the resulting string is written to the output stream.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0