static void StructTaker(ref MyStruct Mystruct) { Mystruct.change = "changed"; // Mystruct = new MyStruct(); }