AzurePoolCrossDbGenerator/Program.cs
/// <summary>
/// Write out a console line with a specified colour or the default colour if not specified.
/// </summary>
/// <param name="Message"></param>
/// <param name="consoleColor"></param>
Write out a console line with a specified colour or the default colour if not specified.
Write out a console line with a specified colour or the default colour if not specified .
public static void WriteLine(string Message = "\n", ConsoleColor consoleColor = ConsoleColor.White)
        {
            var colorDefault = Console.ForegroundColor;
            if (consoleColor != ConsoleColor.White) Console.ForegroundColor = consoleColor;
            Console.WriteLine(Message);
            Console.ForegroundColor = colorDefault;
        }
public static void WriteLine ( string Message = " \n " , ConsoleColor consoleColor = ConsoleColor . White ) { var colorDefault = Console . ForegroundColor ; if ( consoleColor != ConsoleColor . White ) Console . ForegroundColor = consoleColor ; Console . WriteLine ( Message ) ; Console . ForegroundColor = colorDefault ; }
Write out a console line with a specified colour or the default colour if not specified.
Write out a console line with a specified colour or the default colour if not specified .
Message
string
None
consoleColor
ConsoleColor
None