You can now mark a class as static.
static class MyClass
{
}
It will not be possible to create instances of this class. This is useful for classes providing static methods only – like the Global class.
static class MyClass
{
}
It will not be possible to create instances of this class. This is useful for classes providing static methods only – like the Global class.
No comments:
Post a Comment