SyntaxFix
Write A Post
Hire A Developer
Questions
In most of the general cases 'Length' and 'Count' are used.
Array:
int[] myArray = new int[size]; int noOfElements = myArray.Length;
Typed List Array:
List <int> myArray = new List<int>(); int noOfElements = myArray.Count;