Very simple one I'm sure and hope for a quick turnaround. I have an API call that works fine in VB.NET but I am having some syntax problems in C#. The compiler states that I need to use the out keyword. I understand the idea of the problem but don't know how to code it to work.
VB.NET Code------------------
Dim aPosting As [login to view URL]
Dim aRet As [login to view URL]
Dim aRetMessage As String
Dim aRecordSet As [login to view URL]
aRetMessage = ""
aPosting = New [login to view URL]
Call [login to view URL]("[login to view URL]", 1030)
Call [login to view URL]("/A25062", 0.0, "1234", "1", aRet, aRetMessage, aRecordSet)
-------------------------
TRIED THIS BUT COMPILER FAILS IN ONLINE CONVERTERS
[login to view URL] aPosting;
[login to view URL] aRet;
string aRetMessage;
[login to view URL] aRecordSet;
aRetMessage = "";
aPosting = new [login to view URL]();
[login to view URL]("[login to view URL]", 1030);
[login to view URL]("/A25062", 0, "1234", "1", aRet, aRetMessage, aRecordSet);
-------------------------------------
States Arguments 5, 6, 7 need to use the out parameter.
Tha's it!