2 using System
.Threading
.Tasks
;
6 public Task
<int> GetValue (int b
)
8 return Task
.FromResult (b
);
14 public static int Main ()
17 return c
.Foo ().Result
;
26 async Task
<int> Foo ()
34 await Instance
.GetValue (b
);
41 T Test
<T
> (int arg
, Func
<T
> func
)