[C#/General] Enumerable.First 메서드 사용하기.
public class Example { public static void Main() { Console.Write("> \n"); int[] numbers = { 9, 34, 65, 92, 87, 435, 3, 54, 83, 23, 87, 435, 67, 12, 19 }; int first = numbers.First(number => number > 80); Console.WriteLine(first); Console.WriteLine(System.Environment.NewLine); Console.WriteLine("Press any key to exit"); Console.ReadKey(); } }