Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to get an arrays length in c#

int array[] array;
int index;
public void func(){
 for(int i; i < array.Length;i++){
  index++;
 }
  Console.Write(index);
}
 
PREVIOUS NEXT
Tagged: #arrays #length
ADD COMMENT
Topic
Name
8+7 =