Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
kqr
on May 28, 2020
|
parent
|
context
|
favorite
| on:
The use of `class` for things that should be simpl...
C# 9 will allow stand-alone functions in the top level program. They do however count as local functions to the top level programs, and will not be accessible from anywhere outside of that context.
twodave
on May 28, 2020
[–]
Yeah, though it basically amounts to syntactic sugar at this point.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: