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

C#: "Local functions can not be static."

Static nested (i.e. local) functions in D can be static. What that does is prevent the function for accessing locals in the enclosing scope(s).



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

Search: