PowerArgs.StdConsoleProvider.Clear C# (CSharp) Méthode

Clear() public méthode

Clears the console
public Clear ( ) : void
Résultat void
        public void Clear()
        {
            var bg = Console.BackgroundColor;
            try
            {
                Console.BackgroundColor = ConsoleString.DefaultBackgroundColor;
                Console.Clear();
            }finally
            {
                Console.BackgroundColor = bg;
            }
        }