Skip to content

Instantly share code, notes, and snippets.

@karno
Created July 9, 2010 14:42
Show Gist options
  • Select an option

  • Save karno/469540 to your computer and use it in GitHub Desktop.

Select an option

Save karno/469540 to your computer and use it in GitHub Desktop.
public static IEnumerable<T> DownRank<T>(this IEnumerable<IEnumerable<T>> collection)
{
foreach (var items in collection)
foreach (var item in items)
yield return item;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment