Question Search Array

Joined
Oct 1, 2008
Messages
5
Location
Luton, England
Programming Experience
10+
Hi,

I have a large string array containing single words. I need to find out how many of a particular value are in the array.

At the moment I use a loop and count 'em but having used Array.Sort I was attracted to Array.FindAll but cannot make it work. I think I understand the predicate (virtual method) but cannot find the correct one.

Am I whistling Dixie and should stay with the loop and count 'em method?

Thanks
 
Back
Top