2015-10-18 53 views

回答

1

使用Write將阻止添加一個尾隨的換行符。

Console.Write("Input num: ") 
Dim num = Integer.Parse(Console.ReadLine()) 
+0

等等,不應該是console.writeline而不是Console.writeline? 那Integer.Parse是什麼意思? – thezaynthe

+0

@VojtechVrbka:沒有鏈接的答案上的「僅鏈接」。是的,不。 –