结构体:public struct Test
{
public string mA;
public string mB;
public int mC ;
public Test(string a,string b,int c)
{
mA=a;
mB=b;
mC=c;
}
}
泛型集合:public static List<Test> mTest= new List<Test>();
现有 mTest 中存有3组数据,本人想更新 其中一组数据,要求更新前后这组数据在mTest中位置不变
求高手指导,最好有相应的程序可参考,谢谢
{
public string mA;
public string mB;
public int mC ;
public Test(string a,string b,int c)
{
mA=a;
mB=b;
mC=c;
}
}
泛型集合:public static List<Test> mTest= new List<Test>();
现有 mTest 中存有3组数据,本人想更新 其中一组数据,要求更新前后这组数据在mTest中位置不变
求高手指导,最好有相应的程序可参考,谢谢
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货