From 4a21548f5522491b545e06f9584eb97b8bd8a97f Mon Sep 17 00:00:00 2001 From: Stone_Red <56473591+Stone-Red-Code@users.noreply.github.com> Date: Mon, 10 May 2021 17:36:27 +0200 Subject: [PATCH] Created ConsoleExtentions (markdown) --- ConsoleExtentions.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 ConsoleExtentions.md diff --git a/ConsoleExtentions.md b/ConsoleExtentions.md new file mode 100644 index 0000000..ec649a6 --- /dev/null +++ b/ConsoleExtentions.md @@ -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) \ No newline at end of file