Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Finance forum / X++ vs C# Best Choice ...
Finance forum

X++ vs C# Best Choice AX Programming

(3) ShareShare
ReportReport
Posted on by

Hi everybody

Here is Maurizio Grisotto from Italy
I'm moving from AX2009/2012 to Dynamics365FO (finally) and I would like to know your opinions about the subject's point

I'm a Senior NET Programmer (>10 years) and since now AX is fully compatible with C# language why should I continue to use the old and limited X++ language?

Which disadvantages/problems may I have with this approach? I mean: I know that AX Programmer could not necessary to be a NET programmer but in a world (company and region) where it is most common to find people with NET skills than X++, IMHO, could be a better solution to develop new code

For example

- I think could be an excellent choice using LINQ framework instead of X++ SQL syntax

- Power of NET Framework classes compared to X++ is out of the question

What do you think about it?

Thanks to everyone who will share their views

Categories:
  • CU02050725-0 Profile Picture
    16 on at
    X++ vs C# Best Choice AX Programming
    If you have experience, then the transition is very profitable. Please note that existing X++ code may require conversion. I recently wondered how to write a software requirement using C++, and found a software requirement document for this. Of course, not everything is clear the firts time. I think i will heve to suffer before I achieve success. In general, I wish you good luck.
  • Rwing Profile Picture
    5 on at
    RE: X++ vs C# Best Choice AX Programming

    Same here, I too think we should use c# instead of x++.

  • Jie G Profile Picture
    on at
    RE: X++ vs C# Best Choice AX Programming

    Thanks for correction, Martin!

  • Martin Dráb Profile Picture
    231,758 Most Valuable Professional on at
    RE: X++ vs C# Best Choice AX Programming

    Well, this has changed in D365FO. No interop is needed between CRL (".NET") and X++ runtime, because there is no X++ runtime anymore. X++ is compiled to CIL and executed by CLR as any other .NET application.

  • Jie G Profile Picture
    on at
    RE: X++ vs C# Best Choice AX Programming

    Hello Grisotto,

    X++ comes with AX natively. I believe its performance should be better than C# as C# needs interop between X++ and .Net.

  • Verified answer
    Martin Dráb Profile Picture
    231,758 Most Valuable Professional on at
    RE: X++ vs C# Best Choice AX Programming

    You're wrong in thinking that you can forget X++ and use C# instead of it. Therefore the answer to "why should I continue to use the old and limited X++ language" is "because you have no choice".

    It's true that integration with C# libraries is easier with every version, but it doesn't mean that you can use it instead of X++. Sometimes it useful to write a library in C# and utilize things like LINQ (which was true in AX 2012 as well), but you can't, say, implement an AX form in C#.

    Also note extensibility features such as CoC are specific to X++.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,884 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,758 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans