Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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-l...



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/Ke...

Around 47:50 he says "feature request for C# anonymous inner classes".




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: