public override void Write(char value)
 {
     FileTextWriter.Write(value);
     FileTextWriter.Flush();
     ConsoleTextWriter.Write(value);
 }
 public override void Write(char[] buffer, int index, int count)
 {
     FileTextWriter.Write(buffer, index, count);
     FileTextWriter.Flush();
     ConsoleTextWriter.Write(buffer, index, count);
 }