using System;
using System.Linq;
public class Program
{
public static void Main()
var numbers =
Enumerable.Range(0, 1000)
.Select(x => {
if (x < 5) throw new Exception("Bom");
return x;
});
Console.WriteLine(numbers.Skip(10).First());
}