mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 20:39:01 +00:00
17 lines
No EOL
253 B
C#
17 lines
No EOL
253 B
C#
using System;
|
|
|
|
class ConsoleDrv
|
|
{
|
|
static int Main()
|
|
{
|
|
int theValue = 2;
|
|
DoCalc(ref theValue);
|
|
int theValue2 = theValue;
|
|
return (theValue == 4) ? 0 : 1;
|
|
}
|
|
|
|
public static void DoCalc(ref int aValue)
|
|
{
|
|
aValue += aValue;
|
|
}
|
|
} |