public static void SetStandardOutputCharacterAttributes(ConsoleCharacterAttributes attributes) { SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), attributes); }
private static extern bool SetConsoleTextAttribute(IntPtr hConsoleOutput, ConsoleCharacterAttributes wAttributes);