#1: 作者: 许迈克, 时间: 2008-10-23 16:59
c#,
I want to clear the console first before I display something.
How to do it? Use 'cls' , how?
#2: 作者: 3M, 时间: 2008-10-23 17:20
你希望一个空白的屏幕?在console下面,还是窗口里?
#3: 作者: SARS, 时间: 2008-10-23 17:49
C#可以调用Windows API吧?ShellExecute("cls",...)
俺不是C#专家,just an idea.
#4: 作者: 7thGuest, 时间: 2008-10-23 18:01
Clear
#5: 作者: 7thGuest, 时间: 2008-10-23 18:03
陆压 写道:
Clear
瞎猜得
#6: 作者: TwoEspresso, 时间: 2008-10-23 18:08
LZ不要偷懒,google下么。。
#7: 作者: aweican, 时间: 2008-10-23 18:48
Console.Clear()
#8: 作者: 许迈克, 时间: 2008-10-23 20:02
3M 写道:
你希望一个空白的屏幕?在console下面,还是窗口里?
sorry, it should be in console.
#9: 作者: 许迈克, 时间: 2008-10-23 20:08
aweican 写道:
Console.Clear()
Is that easy? yes, it works.
Thanks.
#10: 作者: 许迈克, 时间: 2008-10-23 20:09
陆压 写道:
陆压 写道:
Clear
瞎猜得
猜 dui le
output generated using printer-friendly topic mod, 所有的时间均为 美国太平洋时间