using System;
public class Program
{
public static void Main()
string text = "text";
ChangeText(ref text);
Console.WriteLine(text);
}
static void ChangeText(ref string text) {
text = "new text";