|
using System; using System.Text; namespace myClass { class clsArrayList { public int p_Count=-1; //数据组数 private string[] myArray1; //一维矩阵 private string[,] myArray2; //二维矩阵 /// <summary> /// 一维字符串分隔,初始化.例: clsArrayList myArray1List=new clsArrayList("1;2;3;4;5",';') /// </summary> /// <param name="strStringSource"></param> /// <remarks>gx 2010-04-25</remarks> public clsArrayList(string strStringSource, char charSepartor) { try { myArray1 = strStringSource.Split(charSepartor);//截取 p_Count = myArray1.Length; } catch(Exception ex) { myClass.clsLogHelper.m_CreateErrorLogTxt("clsArrayList(" + strStringSource + " , " + charSepartor + ")"
|