8

A colleague figured he would fix our performance issues by replacing .Count() > 0 statements with .Any()

Perfect idea, except he just did a replace all.

But hey,
var totalCount = items.Any();
Might have its uses.

Comments
Add Comment