在C#中定义一个数组,正确的语法格式是()

在C#中定义一个数组,正确的语法格式是()

A.inta=newint[5]

B.int[]a=newint[5]

C.inta=newint[]

D.int[5]a=newint

正确答案:B

猜你喜欢