[corlib] Fix a few NSLogWriter issues. (#13799)
[mono-project.git] / mcs / tests / test-async-45.cs
blobc39c9ae246a670d02757b244e4c9cd872f190c96
1 using System.Threading.Tasks;
2 using System;
4 class MainClass
6 public static void Main ()
8 var task = Connect ("a", "b", "c");
9 task.Wait ();
12 static async Task Connect (params string[] names)
14 foreach (var h in names) {
15 try {
16 await Task.Yield ();
17 } catch (Exception) {