2011-01-13 55 views
21

我想找到一個元素的索引列表中MACHING一定的斷言,有沒有更好的方式來做到這一點比:IndexOf謂詞?

var index = list.IndexOf(list.Find(predicate)); 

回答