Console.ForegroundColor=ConsoleColor.DarkRed;//线条颜色
Console.BackgroundColor=ConsoleColor.Magenta;//背景颜色

C#(Visual Studio)颜色设置

相关文章: