BelhardTraining.LessonIO.Program.Comment C# (CSharp) Method

Comment() private static method

private static Comment ( string text ) : void
text string
return void
        private static void Comment(string text)
        {
            ConsoleColor oldColor = Console.ForegroundColor;
            Console.ForegroundColor = ConsoleColor.Yellow;
            Console.WriteLine(text);
            Console.ForegroundColor = oldColor;
        }