System.IO.TextWriter.Write Method

Writes a character to the text string or stream.

Syntax

public virtual void Write (char value)

Parameters

value
The character to write to the text stream.

Exceptions

TypeReason
System.IO.IOException An I/O error occurred.

Remarks

This default method does nothing, but derived classes can override the method to provide the appropriate functionality.

For a list of common I/O tasks, see Common I/O Tasks.

Requirements

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0