将集合转成数组的方法是( )

将集合转成数组的方法是( )

A.asList()

B.toCharArray()

C.toArray()"

D.copy()

正确答案是C