X++ Language Programming Guide
X++ is an object-oriented language with similarities to C#. X++ is part of the MorphX development platform that you use to construct accounting and business management systems.
The memory management model of X++ is simple. Objects are created with a new operator. There are no explicit programmer-defined pointer data types, and there is no pointer arithmetic.
X++ provides system classes for a broad range of system programming areas, a few of which are as follows:
File input and output.
Reflection on classes and tables.
Manipulation of user interface items such as forms and reports.
Dynamic array support.
Collections of objects.
XML building and parsing.
In addition to its system classes, Microsoft Dynamics AX also provides application classes for managing many types of business processes. For reference information about the system and application classes in Microsoft Dynamics AX, see Classes.
X++ programmers can access the relational tables in Microsoft Dynamics AX. X++ includes keywords that mostly match the keywords in standard SQL. For information about X++ SQL keywords, see Data Selection and Manipulation and the table of contents underneath it. For reference information about the tables in Microsoft Dynamics AX, see Tables.
X++ provides extensive compile-time checking, followed by a second level of run-time checking. Each time a reference to a constructed object goes out of scope, the system automatically determines whether the object can be erased from memory. When there are no longer any references to an object, the object is erased and its space in memory is reclaimed for general use.
X++ provides syntax for direct calls to .NET Framework methods. For more information, see .NET CLR Interop Overview.