Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to declare an array lenght in c#

    public int[] number = new int[2 /* the number here declares the lenght, not the index*/ ];
    int[1 /*this number here declares the index*/] = 69;
 
PREVIOUS NEXT
Tagged: #declare #array #lenght
ADD COMMENT
Topic
Name
9+9 =