条件を満たす最初の要素を返します。
문법
list.Find(match)예제
아래 값을 입력하면 예제에 즉시 반영됩니다.
var→numbers→new→List→found→Find→Console→WriteLine→var numbers = new List<int> { 1, 3, 5, 8, 10 };
int found = numbers.Find(n => n % 2 == 0);
Console.WriteLine(found); // 8