Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

array equivalent in Dynamics (X++)

(1) ShareShare
ReportReport
Posted on by 354

are there an x++ equivalent of lists or arrays?

I want to create many variables of the same type without having to create them one by one

  • Luis Pascual Profile Picture
    354 on at
    RE: array equivalent in Dynamics (X++)

    thank you

  • Verified answer
    Martin Dráb Profile Picture
    233,488 Most Valuable Professional on at
    RE: array equivalent in Dynamics (X++)

    You can use the List class to create a list.

    X++ support arrays, but they're rarely used. I don't even know if they can be put into a list. You can either use a container instead, or collection classes, including Array.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 318 Most Valuable Professional

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 273

#3
Jonas "Jones" Melgaard Profile Picture

Jonas "Jones" Melgaard 181 Super User 2025 Season 1

Overall leaderboard

Product updates

Dynamics 365 release plans