Initiate an array with fixed length

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?

Hi @123321,

Please check an example right below:

1 Like