I\'ve been searching the difference between Select and SelectMany but I haven\'t been able to find a suitable answer. I need to learn the differenc
Select
SelectMany
I understand SelectMany to work like a join shortcut.
So you can:
var orders = customers .Where(c => c.CustomerName == "Acme") .SelectMany(c => c.Orders);