입력받은 파라미터를 Console.Write() 를 통하여 출력하는 코드조각 HighlightText(출력내용, 텍스트 색상, 배경 색상) static void HighlightText(string text, ConsoleColor textColor, ConsoleColor bgColor) { Console.ForegroundColor = textColor; Console.BackgroundColor = bgColor; Console.Write(text); Console.ResetColor(); }