Initiate an array with fixed length

activities

#1

HI,

How to initiate an array with fixed length? I assigned an array of int32 with new int[10], but it reported errors.

Could anyone help?


#2

Hi @123321,

Please check an example right below: