Thursday 11 February 2016

X++ in AX7: Static classes

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.

No comments:

Post a Comment