Method | Description | |
---|---|---|
Write ( string message, ConsoleColor foregroundColor = null, ConsoleColor backgroundColor = null ) : void |
Writes the specified string value to the standard output stream. Optionally you may specify which colors should be used.
|
|
WriteLine ( string message, ConsoleColor foregroundColor = null, ConsoleColor backgroundColor = null ) : void |
Writes the specified string value, followed by the current line terminator, to the standard output stream. Optionally you may specify which colors should be used.
|
Method | Description | |
---|---|---|
WriteToConsole ( string message, ConsoleColor foregroundColor = null, ConsoleColor backgroundColor = null, bool line = true ) : void |
public static Write ( string message, ConsoleColor foregroundColor = null, ConsoleColor backgroundColor = null ) : void | ||
message | string | The |
foregroundColor | ConsoleColor | Optional: The foreground color |
backgroundColor | ConsoleColor | Optional: The background color |
return | void |
public static WriteLine ( string message, ConsoleColor foregroundColor = null, ConsoleColor backgroundColor = null ) : void | ||
message | string | The |
foregroundColor | ConsoleColor | Optional: The foreground color |
backgroundColor | ConsoleColor | Optional: The background color |
return | void |