I've been using out parameters to return more than 1 value from my
functions. But how do you return a variable that you have passed to the
function originally? The code below doesn't work, do I just change the
name of the variable I am passing back, or is there some clever way to
do this in C#?
private DBResult Change_CC_State(out int intNewStatus, int intNewStatus)
{
//do stuff to intNewStatus before returning
}
Thanks,
Mike
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!