Is of possible to edit a array this way?

Hello! In Action Script I think that the arrays were editable in this way
[Value of first, Value of second]
Eg. [1,5,3,6]
But in C# first I need to declare the length and then I need to set it like this way
ArrayName[0] = BlaBlaBla;
So is is possible to edit a array this way in C#-
[1,2,3,4,5,6,7,8,9,10,11].
Thanks

int[] arr = new int[]{ 0, 1, 2, 3, 4, 5};

do it only supports int it seems so

found it thanks for your help

Bump Array Index out of range

Solved Sorry… using two arrays and forgot to setup second one