using System;
public class Program
{
public static void Main()
var x = 0;
Incrementor.Increment(ref x);
Console.WriteLine(x);
}
public class Incrementor
public static void Increment(ref int x)
x++;