数组长度的问题~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
问个问题啊比如我传过来的字符串是1,2,;3,4,;
如果
string flagbagain= returnvalue.Substring(0,returnvalue.Length - 1);//除掉最后的那个分号
string [] infoarray = flagbagain.Split(';');
for (int i= 0; i < infoarray.Length; i++)
{
string [] infoarray1 = infoarray.Substring(0,infoarray.Length - 1); //为了除掉最后的那个逗号,这句会报错,不知道咋写
string [] detail = infoarray1.Split(',');
}