摘要:
没有时间写废话,直接上测试代码。 class TestAddressRef { public int num; }class Program { static void Main(string[] args) { TestAddressRef tar1=new TestAddressRef(); tar1.num = 1; TestAddressRef tar2 = tar1; TestAddressRef tar3=new TestAddressRef(); TestAddressRef tar4 = tar3; tar3.num ... 阅读全文