In order to to get the number of subitems in dotnet sometimes i have to ask a property Lenght sometimes i have to ask a property Count.
Is there any reason for the distinction?
example:
int[] a; if (a.Length == 0) ....
IList<int> b; if (b.Count == 0) ....
Note Difference between IEnumerable Count() and Length sounds similar but does not answer the semantic between Length and Count