3 ms·
Not all anonymous classes are lambdas. There are many situations like async streams or even synchronous iterators that require multiple methods. Erik Meijer e
by agentgt 11y ago
Not 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".