how to clear a lin in console in c# code example Example: how to clear console in c# Console.Clear();