static void Main(string[] args)
{ print(); }
static async void print()
{
try
{
await Task.Factory.StartNew(() =>
{
Thread.Sleep(3000);
Console.WriteLine("3");
Debug.Write("3");
});
}
catch (Exception)
{ }
Console.Read();
}
Console splashed without any error occurs!