Mono Class Library: System.IO.TextWriter Overview | Members

System.IO.TextWriter.Null Field

Provides a System.IO.TextWriter object without a backing store. [Edit]

public static readonly TextWriter Null

Remarks

Use TextWriter.Null to redirect output to a stream that will not consume any operating system resources.

When a TextWriter.Write(char) method is invoked on TextWriter.Null, the call simply returns, and no data is actually written to any backing store.

[Edit]

Requirements

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