IStandardStreamWriter Interface

Definition

Represents a standard stream that can be written to.

public interface IStandardStreamWriter

Methods

Write(String)

Writes the specified string to the stream.

Extension Methods

CreateTextWriter(IStandardStreamWriter)

Creates a TextWriter that writes to the specified IStandardStreamWriter.

WriteLine(IStandardStreamWriter, String)

Writes the current string value, followed by the current environment's line terminator.

WriteLine(IStandardStreamWriter)

Appends the current environment's line terminator.

Applies to

Product Versions
.NET 6 (package-provided), 7 (package-provided), 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)