DavidWadsworth
Member
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
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