Coolest C# LINQ/Lambdas trick you've ever pulled?

后端 未结 14 1458
死守一世寂寞
死守一世寂寞 2020-12-22 17:00

Saw a post about hidden features in C# but not a lot of people have written linq/lambdas example so... I wonder...

What\'s the coolest (as in the most

14条回答
  •  孤城傲影
    2020-12-22 18:03

    The LINQ Raytracer certainly tops my list =)

    I'm not quite sure if qualifies as elegant but it is most certainly the coolest linq-expression I've ever seen!

    Oh, and just to be extremely clear; I did not write it (Luke Hoban did)

提交回复
热议问题