2 ms·
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) {...} }
by atesti 15y ago
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)
{...}
}