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

You can mark a class as static, then it will only allow static functions or members:

static class Math { static int Pow(int a,int b) {...} }




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

Search: