[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 224
  • Last Modified:

Using String Arrays in a method..

Hi all

Given this class and the method below.

Which retrun an array InvoiceReportWithID[] of values.

I need to return the arrays (InvoiceReportWithID) as a string of arrays
then pass the array to another system whereby I will interate through the values
and used each value set for reprocessing.

That is in the destinaiton system.. I need to call a method  newSystemMethod(cus, trans, deliv, filety)

How can I achive this

Thanks in advance..

public InvoiceReportWithID[] EndGetInvoiceListWithIDs(System.IAsyncResult asyncResult) {
     object[] results = this.EndInvoke(asyncResult);
     return ((InvoiceReportWithID[])(results[0]));

public class InvoiceReportWithID 
  public String CustomerID;  
  public String TransactionID; 
  public DateTime DeliveryDate; 
  public String FileType; 

Open in new window

  • 2
1 Solution
Bob LearnedCommented:
I don't understand what you are looking for...
ZURINETAuthor Commented:
Sorry Solve the problem already
ZURINETAuthor Commented:
Solved the problem with another solution

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now