Created ConsoleExtentions (markdown)

Stone_Red
2021-05-10 17:36:27 +02:00
parent efa3e0e3ef
commit 4a21548f55
+36
@@ -0,0 +1,36 @@
# Stone_Red_Utilities.ConsoleExtentions
## Methods
* Write
* Description: Writes the text representation of the specified object to the standard output stream.
* Parameters: `object value`, `ConsoleColor color`
* Example usage:
```cs
ConsoleExt.Write("text in red", ConsoleColor.Red);
```
* Output:
```text
text in red
```
(Imagine that the text is actually red)
* WriteLine
* Description: Writes the text representation of the specified object, followed by the current line terminator, to the standard output stream.
* Parameters: `object value`, `ConsoleColor color`
* Example usage:
```cs
ConsoleExt.WriteLine("text in green", ConsoleColor.Green);
```
* Output:
```text
text in green
```
(Imagine that the text is actually green)