Example #1
0
 private static int CountMax <T>(T items, int maxCount)
     where T : IEnumerable
 {
     return(CollectionCounter <T> .CountMax(items, maxCount));
 }
Example #2
0
 private static int Count <T>(T items)
     where T : IEnumerable
 {
     return(CollectionCounter <T> .Count(items));
 }