using System;
public class Program
{
public void Main()
var counter = 1;
var word = "var";
Increment(counter);
ToUpper(ref word);
Console.WriteLine(word + " " + counter);
Increment(ref counter);
ToUpper(word);
}
void Increment(int value)
value++;
void Increment(ref int value)
void ToUpper(string value)
value = value.ToUpper();
void ToUpper(ref string value)