/// <summary>
 /// Задает ранее сохраненный стиль
 /// </summary>
 /// <param name="style">Наименование стиля</param>
 /// <returns></returns>
 public ColoredConsole SetStyle(string style)
 {
     foreach (KeyValuePair <string, ColoredConsoleStyle> st in Styles)
     {
         if (st.Key == style)
         {
             _current_style = st.Value;
             return(this);
         }
     }
     _current_style = _default_stile;
     throw new UnknownStyleException(style);
 }
 /// <summary>
 /// Конструктор
 /// </summary>
 public ColoredConsole()
 {
     Styles.Add("default", _default_stile);
     _current_style = _default_stile;
 }