Dim s1 As String
Dim i As Integer
'方法一
Console.Write("請輸入字串:")
s1 = Console.ReadLine()
Console.Write("請輸入整數:")
i = Console.ReadLine()
Console.WriteLine("s1=" & s1 & ", i=" & i)
'方法二
Console.Out.Write("請輸入字串:")
s1 = Console.In.ReadLine()
Console.Out.Write("請輸入整數:")
i = Console.In.ReadLine()
Console.Out.WriteLine("s1={0}, i={1}", s1, i)
另外方法二的為何要加In, Out? ("s1={0}, i={1}", s1, i)可否作詳細解釋?