- Instead of putting it into an own list by calling
ToList()orToArray()i would prefer to useAsEnumerable(). - Additionally like the others you should try
OrderByDescending() - Instead of
Count()i would useAny().
ToList() or ToArray() i would prefer to use AsEnumerable().OrderByDescending() Count() i would use Any().