Cosmos/source/IL2CPU.Tests/Tests/SimpleByRefParam/SimpleByRefParam.cs
2007-09-24 07:19:39 +00:00

16 lines
No EOL
219 B
C#

using System;
class ConsoleDrv
{
static void Main()
{
int theValue = 2;
DoCalc(ref theValue);
int theValue2 = theValue;
}
public static void DoCalc(ref int aValue)
{
aValue += aValue;
}
}