3 ms·
> One of the very few things I don't like about C# is that does not have anonymous classes Anonymous classes are lambdas in C#. http://programmers.stackexchan
by pbz 11y ago
> One of the very few things I don't like about C# is that does not have anonymous classes
Anonymous classes are lambdas in C#.
http://programmers.stackexchange.com/questions/195081/is-a-lambda-expression-something-more-than-an-anonymous-inner-class-with-a-singl http://programmers.stackexchange.com/questions/195081/is-a-l...
- agentgt 11y agoNot all anonymous classes are lambdas. There are many situations like async streams or even synchronous iterators that require multiple methods. Erik Meijer even mentions somewhere in this video that he is remiss that C# doesn't have anonymous classes: https://channel9.msdn.com/Events/Lang-NEXT/Lang-NEXT-2014/Keynote-Duality https://channel9.msdn.com/Events/Lang-NEXT/Lang-NEXT-2014/Ke... Around 47:50 he says "feature request for C# anonymous inner classes".