G
Guest
I am new to using C# generics and I am liking what I am finding. However the
examples in online help are lacking. Can someone help me with the FindAll
method of the generic List class? As I understand the method, it will return
a list that meets the criteria evaluated in the delegate function that I use
for evaluation. I am not sure how to write this delegate, how do I get the
list item to evaluate in my delegate. Is their a defined delegate signature
or can I define my own. Specifically, I have a list of structures that
contain datapoints at various times and I waht to use FindAll to get a list
of datapoints within a defined timespan. I would send in the begin and end
times and it would return me a list of items in that time range. Any help
would be appreciated.
examples in online help are lacking. Can someone help me with the FindAll
method of the generic List class? As I understand the method, it will return
a list that meets the criteria evaluated in the delegate function that I use
for evaluation. I am not sure how to write this delegate, how do I get the
list item to evaluate in my delegate. Is their a defined delegate signature
or can I define my own. Specifically, I have a list of structures that
contain datapoints at various times and I waht to use FindAll to get a list
of datapoints within a defined timespan. I would send in the begin and end
times and it would return me a list of items in that time range. Any help
would be appreciated.