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 :
Finance | Project Operations, Human Resources, ...
Unanswered

Array Segment class

(2) ShareShare
ReportReport
Posted on by 42
Hi team,
 
Im having trouble using Array segment class , Im using a method that has this class as parameter , I learned array segment allows a segment of array to be passed and but nit create a copy of it thus saving memory i believe  , but how do use this class and instantiate complier throws when i use it, Im confused 
 
I have the same question (0)
  • Martin Dráb Profile Picture
    239,452 Most Valuable Professional on at
    Your code indeed isn't valid X++.
     
    X++ doesn't supports neither generics (there are some attempts, but Microsoft don't look like they want to support it), not async/await, therefore it'll be much easier if you create a C# library, do these things there and call a simplified interface of your C# library from X++. 
  • Martin Dráb Profile Picture
    239,452 Most Valuable Professional on at
    I see you've used my recommendation (in your thread Websocket connection from D365 for integration), therefore my answer here seems to help you. Please verify it as an answer (by using Does this answer your question? below the helpful reply). If you want to learn more, the page Writing effective responses in the community covers answer verifications, among other things.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 622

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 553 Super User 2026 Season 1

#3
CP04-islander Profile Picture

CP04-islander 430

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans