A-A+

字符串数组strarray包含以下元素: string[] strarray={“this”

2022-08-14 22:45:18 问答库 阅读 205 次

问题详情

字符串数组strarray包含以下元素: string[] strarray={“this”, “is”, “a”, “test”}; 则以下语句在控制台的输出是什么?() string strafterjoin =string、Join(“, ”,strarray); Console、WriteLine(strafterjoin);
A、 ”this”,”is”,”a”,”test”
B、 this is a test
C、 this,is,a,test
D、 thisisatest

参考答案

参考答案:C

考点:数组,字符串