Skip to content

Instantly share code, notes, and snippets.

@idg10
Created September 7, 2018 07:16
Show Gist options
  • Save idg10/a05b0f3ecf78ee6cfcceb540a0388aab to your computer and use it in GitHub Desktop.
Save idg10/a05b0f3ecf78ee6cfcceb540a0388aab to your computer and use it in GitHub Desktop.
Taking the first task in an IEnumerable<Task<int>>
Task<int> firstTask = ParseFile(path).First();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment