tags:

views:

44

answers:

2

hi how are you please someone tell me why some of LISTs have useful methods like FIND , WHERE or ... and some of them dont have these methods

and how can i use these methods when those LISTs dont have

+1  A: 

Your code is probably missing references to LINQ.

Add:

using System.Linq;

To your classes that don't have it, and add a reference to this assembly to projects that don't have it.

Oded
A: 

List has number of methods like Find, FindAll, FindIndex etc. To work with delegates, for example:

var op in _opList.Find(op => op != null)
Eugene Gavrin