2014-01-19 39 views

回答

2

使用Console.Clear,如下:

Sub Main() 

     Console.BackgroundColor = ConsoleColor.DarkBlue 
     Console.ForegroundColor = ConsoleColor.White 

     '' the entire console will now be white on dark blue 
     Console.Clear() 

     Console.WriteLine("Test") 

     Console.Read() 

    End Sub 
+0

如果這個回答你的問題,可以請你把它標記爲正確的答案?謝謝! –