Tagged Questions
6
votes
3answers
457 views
Is there a reason to prefer lambda syntax even if there is only one parameter?
List.ForEach(Console.WriteLine);
List.ForEach(s => Console.WriteLine(s));
To me, the difference is purely cosmetic, but are there any subtle reasons why one might be preferred over the other?
