|
-
December 7th, 2006, 03:42 AM
#1
List<string> myList = new List<string>();
I want use the metod public T Find (Predicate<T> match) to find an string in myList.
But I have no idea how can I find a string as a parameter.
I know only this way:
List<string> mylist = myList.FindAll(demo);
Is this way possible:
List<string> mylist = myList.FindAll(demo(object x));
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|