There is a DLL I use that had a Method that looks like this:
AskJobPages(ref Array Pages)
So I should declare an Array and send it as a ref. The method will fill the array with pagenumbers (int).
I tried this:
Array pages = new int;
But this is not the way. I get the errormessage:
Value does not fall within the expected range.
on the second line.