using System;
using System.Threading.Tasks;
using System.Net.Http;
public class Program
{
private static HttpClient client = new();
public static async Task Main()
await Good();
}
public static async Task Good()
Console.WriteLine("Before goes wrong");
var str = await client.GetStringAsync("http://googleeee.com/"); // Misspelled, non-existing, domain
Console.WriteLine("After goes wrong");