using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Program
{
public class Program
public static void Main(string[] args)
}
static IEnumerable<int> YieldWithTryCatchFinally()
yield return 1;
try
yield return 2;
catch
yield return 3;
finally
yield return 4;
static IEnumerable<int> YieldWithTryFinally()
static async Task AwaitWithTryCatchFinally()
await Task.Yield();