下面这段代码的运行结果是()。 Dim MyStringBuilder As New StringBuilder("Hello World!") MyStringBuilder.Remove(5, 7) Console.WriteLine(MyStringBuilder)
- A、"Hello_"
- B、"Hello"
- C、"_World!"
- D、"World!"
正确答案:B
答案解析:有
微信扫一扫手机做题
下面这段代码的运行结果是()。 Dim MyStringBuilder As New StringBuilder("Hello World!") MyStringBuilder.Remove(5, 7) Console.WriteLine(MyStringBuilder)
微信扫一扫手机做题