diff --git a/DTLib/ColoredConsole.cs b/DTLib/ColoredConsole.cs index 44209e6..3e56569 100644 --- a/DTLib/ColoredConsole.cs +++ b/DTLib/ColoredConsole.cs @@ -42,6 +42,12 @@ public static class ColoredConsole // вывод цветного текста public static void Write(params string[] input) { + if (input.Length == 1) + { + Write(input[0]); + return; + } + if (input.Length % 2 != 0) throw new Exception("ColoredConsole.Write() error: every text string must have color string before");