Last active
June 7, 2017 16:01
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
// https://referencesource.microsoft.com/#System.Core/System/Linq/Enumerable.cs,692 | |
static IEnumerable<TSource> ConcatIterator<TSource>(IEnumerable<TSource> first, IEnumerable<TSource> second) { | |
foreach (TSource element in first) yield return element; | |
foreach (TSource element in second) yield return element; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment