Hacker News new | ask | show | jobs
by WalterBright 3258 days ago
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).