PROPERTY
Array.Length
Returns the total element count; for a one-dimensional zero-based array the last valid index is Length - 1 if nonempty.
Formal Syntax & Structure
csharp syntaxcsharp
values.LengthWorking Example
Example Snippetcsharp
int count = new int[3].Length;