Whats the best/easiest way to obtain a count of items within an IEnumerable collection without enumerating over all of the items in the collection?
Possible with LIN
Use this.
IEnumerable list =..........; list.OfType().Count()
it will return the count.