Skip to content

Instantly share code, notes, and snippets.

@lgolubyev
Created November 21, 2022 17:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lgolubyev/00cd49157f8fde339f6c85a194168a74 to your computer and use it in GitHub Desktop.
Save lgolubyev/00cd49157f8fde339f6c85a194168a74 to your computer and use it in GitHub Desktop.
IEnumerable<string> resultSelectMany = employees.SelectMany(emp => emp.Skills);
foreach (string skill in resultSelectMany)
{
Console.WriteLine(skill);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment