get values lenght array inC# code example
Example 1: c# array lenght
int arraylenght = YourArray.Length;
Example 2: 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);
}