Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: void WriteParagraphs(ConsoleColoredString, int)

Declaration

public static void WriteParagraphs(
    ConsoleColoredString message,
    int hangingIndent = 0
)

Summary

Outputs the specified message to the console window, treating newlines as paragraph breaks. All paragraphs are word-wrapped to fit in the console buffer, or to a sensible width if redirected to a file. Each paragraph is indented by the number of spaces at the start of the corresponding line.

Parameters

ConsoleColoredStringmessage The message to output.
inthangingIndent Specifies a number of spaces by which the message is indented in all but the first line of each paragraph.