Last active
October 14, 2018 16:28
-
-
Save jesuscampos/c26a9006fcf8b8ddf92958b2a33f39e1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private async Task<string> DoWorkAsync() | |
{ | |
HttpClient client = new HttpClient(); | |
string result1 = await client.GetStringAsync(url1); | |
// ... | |
string result2 = await client.GetStringAsync(url2); | |
// ... | |
string result3 = await client.GetStringAsync(url3); | |
// ... | |
return $"Results: {result1}{result2}{result3}"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment