Hi,
I'm using FindAll to filter a list of files contained in an array. I get the following error:-
'no overload method FindAll takes 1 arguments', I Presume that I'm missing the argument T[] array from the following definition that pops up in my editor:-
However this is not the same as the definition as describedCode:public List<T> FindAll(T[] array,Predicate<T> match)
List.FindAll Method (System.Collections.Generic)
Any ideas on how this may be resolved?
Thanks
My code:-
Code:files = files.FindAll(delegate(FileInfo f) { return f.Extension.ToLower() == ".c" || f.Extension.ToLower() == ".h"; });



LinkBack URL
About LinkBacks


