8fc30896db
Former-commit-id: c477e03582759447177c6d4bf412cd2355aad476
24 lines
304 B
C#
24 lines
304 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
|
|
class X
|
|
{
|
|
public static void Main ()
|
|
{
|
|
var x = new X ();
|
|
x.Test ().Wait ();
|
|
}
|
|
|
|
int a, b;
|
|
|
|
async Task Test ()
|
|
{
|
|
(a, b) = await Waiting ();
|
|
}
|
|
|
|
Task<(int, int)> Waiting ()
|
|
{
|
|
return Task.FromResult ((1, 3));
|
|
}
|
|
} |