DEV Community

Discussion on: C# lambda vs foreach readability.

Collapse
 
gruenwaldt profile image
Michael Grünwaldt

Hello,
since you asked for opinions.

For me the linq statement Is much easier to understand. Clear structure and short.

When one is used to linq i don‘t know how to write it clearer.
Even when not used to linq it is almost a sentence.

For me, in this case definately pro linq!
Regards
Michael

Collapse
 
ucavalcante profile image
Ulisses Cavalcante

Ty for your opinion Michael.