Any() versus Count()(kodefuguru.com)
submitted by
KodefuGuru(2818) 2 years, 5 months ago
Jimmy Bogard brought to my attention today that I had been doing something wrong all along. I’ve been using Count() on my enumerations when I should have been using Any(). I’ve even done this in a presentation I’ve been giving the past few months. This is from Mash Up.
|category: Linq
|Views: 692
tags:
LINQ another
Everyones tags:
Your Tags: