internal static extern bool WriteConsoleOutputAttribute(
     IntPtr hConsoleOutput,
     ushort[] lpAttribute,
     uint nLength,
     Generic.COORD dwWriteCoord,
     out uint lpNumberOfAttrsWritten
     );
 internal static extern bool WriteConsoleOutputCharacter
 (
     IntPtr hConsoleOutput,
     string lpCharacter,
     uint nLength,
     Generic.COORD dwWriteCoord,
     out uint lpNumberOfCharsWritten
 );