I want to write an async method with an out parameter, like this:

public async void Method1()
{
    int op;
    int result = await GetDataTaskAsync(out op);
}

How do I do this in GetDataTaskAsync?

12 Answers
12

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *