Tag Archives: out paramters in async methods C#

Out parameters in Async methods.

A little while ago, I wanted to have an asynchronous method that returned a string but also populated an integer “out” parameter. So I started writing the method as below // Note: This will give compiler error. private async Task<string> … Continue reading

Posted in .NET | Tagged , , , | Leave a comment