·a plain
parameter is a copy of the argument
wno frills
bitwise copy
wthe
argument must be definitely assigned
wargument
can be an "rvalue"
static void Method(Pair
parameter)
{
parameter = new Pair(42,42);
}
static void Main()
{
Pair arg = new Pair(0,0);
Console.WriteLine(arg.X);
Method(arg);
Console.WriteLine(arg.X);
}