Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Struct: RT.Util.Consoles.ConsoleColoredChar

Summary

Contains a character and a console foreground and background color.

Constructors

ConsoleColoredChar(char character, ConsoleColor? foreground, ConsoleColor? background = null)
Constructor.

Operators

ConsoleColoredString Concatenates two ConsoleColoredChars into a ConsoleColoredString. (see also remarks)
ConsoleColoredString
operator+(ConsoleColoredChar char1, string string2)
Concatenates a ConsoleColoredChar onto a string and returns a ConsoleColoredString. (see also remarks)
ConsoleColoredString
operator+(string string1, ConsoleColoredChar char2)
Concatenates a string onto a ConsoleColoredChar and returns a ConsoleColoredString. (see also remarks)
ConsoleColoredChar Implicitly converts an uncolored char to a ConsoleColoredChar with no color.

Instance properties

ConsoleColor?Gets the background color. null indicates to use the console’s default background color.
charGets the character.
ConsoleColor?Gets the foreground color. null indicates to use the console’s default foreground color.