using System;
public class Program
{
public static void Main()
int a = 5;
Foo(ref a);
Console.WriteLine(a);
}
static void Foo(ref int x){
x = 6;