【C#】List.Find

首先看一下 MSDNspa 搜索與指定謂詞所定義的條件相匹配的元素,並返回整個 List<T> 中的第一個匹配元素。code 命名空間:     System.Collections.Generic public T Find( Predicate<T> match ) 參數 match Type:  System.Predicate<T> Predicate<T> 委託,用於定義要搜索的元素的
相關文章
相關標籤/搜索