المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : find object in List specific values without loop



C# Programming
08-03-2009, 10:30 AM
Hi all
how can i find specific values in the List class?
there is "public T Find (Predicate match)" , FindAll and findindex class functions ... but there all using the Predicate Delegate function, the search value is fixed in the Delegated function (as seen in the example in MSDN).
is there way to search the list in Generic function specific values without using for each loop or any other loops?

Thanks