using System;
public class Program
{
public static void Main()
try
throw new TimeoutException("The service timed out!");
}
catch (Exception e)
Console.WriteLine($"Caught exception: {e}");