Created
April 6, 2015 20:27
-
-
Save dschenkelman/195bcb99473c3f2b9db9 to your computer and use it in GitHub Desktop.
C# foreach tasks
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
async Task FetchUrls(IEnumerable<string> urls) | |
foreach (var url in urls){ | |
await fetch(url); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment