web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Blogs / mfp's two cents / X++ in AX7: Static classes

X++ in AX7: Static classes

Michael Fruergaard Pontoppidan Profile Picture Michael Fruergaard ... 1,616

1134.AX7TShirt.jpg

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.

 

THIS POST APPLIES TO MICROSOFT DYNAMICS AX7 TECHINCAL PREVIEW; IS PROVIDED AS-IS AND CONFERS NO RIGHTS.

Comments

*This post is locked for comments