Hacker News new | past | comments | ask | show | jobs | submit login

In older C#, that would be delegate:

    delegate(int x){ return 10; }
(But yeah, nowadays that would be:)

    (int x) => 10



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

Search: