Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 304 Bytes

csharp.md

File metadata and controls

17 lines (11 loc) · 304 Bytes

C#

Documentation

Versions

Recipes

Synchronous call to an asynchronous method

// if CallServiceAsync returns Task (void)
var task = Task.Run(() => CallServiceAsync(url, action));
task.Wait();