Color(character, foreground) Color(foreground, background) Color(character, foreground, background) Format(format, provider, args) IndexOf(value, startIndex, comparisonType) IndexOf(value, startIndex, count, comparisonType) Replace(oldValue, newValue, comparison) Split(separator, count, options)
Legend Class Struct Enum Interface Delegate | Constructor Method Property Event Field |
| Constructor: ConsoleColoredString(string, ConsoleColor?, ConsoleColor?)Declarationpublic ConsoleColoredString(
string input,
ConsoleColor? foreground,
ConsoleColor? background = null
) Summary
Constructs a ConsoleColoredString with the specified text and the specified colors. Parametersstring | input |
The string containing the text to initialize this ConsoleColoredString to. | ConsoleColor? | foreground |
The foreground color to assign to the whole string. | ConsoleColor? | background |
The background color to assign to the whole string. |
|