Console.Clear() Method

Erases the console output window.

Syntax

Console.Clear()

The method syntax has these parts:

Part Description
Return (Nothing) Does not return a value.

Remarks

Use this to clear old output from the console window.