It doesn't really matter, but Count () is available for more types.
Not all collection types have the Count property. For example, IEnumerable does not. The LINQ Count () method works with all of these collection types, using the Count property or a loop through the collection to count items.
source share