public string SomeValue { get; set; }
public static void Main()
var oldValueThing = new SomeThing()
MyMethod(oldValueThing, MyRefMethod(ref oldValueThing));
public static SomeThing MyRefMethod(ref SomeThing str)
str.SomeValue = "new Value";
public static void MyMethod (SomeThing originalThing, SomeThing doesntMatterThing)
Console.WriteLine(originalThing.SomeValue);