.NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

13 lines
216 B

using System;
using System.Threading.Tasks;
internal class AsyncAwait
{
public static async Task<int> SumAsync(int a, int b)
{
await Task.Yield();
int num = a + b;
Console.WriteLine(num);
return num;
}
}