P
Phil
I have seen the samples for Find that explain how to use the predicate, but
they are always searching for a pre-defined value. What I don't understand
is how to search for a random value stored in a variable.
For example,
List<int> items;
int val=3;
items.Add(1);
items.Add(2);
items.Add(3);
items.Add(4);
How do I search the list "items" for the value in the variable val?
Thanks,
Phil
they are always searching for a pre-defined value. What I don't understand
is how to search for a random value stored in a variable.
For example,
List<int> items;
int val=3;
items.Add(1);
items.Add(2);
items.Add(3);
items.Add(4);
How do I search the list "items" for the value in the variable val?
Thanks,
Phil