public void test() { test tt = new test("ali"); Console.WriteLine(tt.str); test2(ref tt); }
public void test2(ref test t) { t = new test("reza"); Console.WriteLine(t.str); }