IW1QLH

  • Increase font size
  • Default font size
  • Decrease font size

Pass a parameter by reference

E-mail Print PDF
ASPX.CS C# - How to pass a parameters by reference (byref)

int Count = 0;
IncCount(ref Count);
Response.Wrire(Count);


private void IncCount(ref int Count)
{
    Count++;
}


{moscomment}

Last Updated on Friday, 27 October 2006 16:23