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