Generally asynchronous methods can have only void return types. If you wish to return some value use the following.
This will work only with C# 5.0.
The code snippet below works with versions lower than 5.0 too.
Generally asynchronous methods can have only void return types. If you wish to return some value use the following.
This will work only with C# 5.0.
The code snippet below works with versions lower than 5.0 too.
Recent Comments