摘要:
using System;using System.Linq;class Program{ static void Main() { //~ 以下测试是使结构体s2=s1,然后修改s2的数据,观察对s1的影响 var s1=new S1(); s1.Title="I'm s1"; s1.firstPoint=new Point(0,0); s1.otherPoint=new Point[]{new Point(1,1),new Point(2,2)}; //~ 直接赋值,使s2=s1... 阅读全文