public struct People
{
public string strName="";
public string strSex="";
public int IntAge=0;
}
使用
People p1=new People();
People p2;
p1.strName="张三";
p1.strSex="男";
p1.IntAge="20"
p2=p1;
public struct People
{
public string strName="";
public string strSex="";
public int IntAge=0;
}
使用
People p1=new People();
People p2;
p1.strName="张三";
p1.strSex="男";
p1.IntAge="20"
p2=p1;