ArrayList arrLst = new ArrayList();
string strFinal;
string strarr[];
arrLst.Add("[email protected]");
arrLst.Add("[email protected]");
arrLst.Add("[email protected]");
strarr = arrLst.ToArray(Type.GetType("System.String"));
strFinal = String.Join(",",strarr);
MessageBox.Show(strFinal);
string strFinal;
string strarr[];
arrLst.Add("[email protected]");
arrLst.Add("[email protected]");
arrLst.Add("[email protected]");
strarr = arrLst.ToArray(Type.GetType("System.String"));
strFinal = String.Join(",",strarr);
MessageBox.Show(strFinal);
string strFinal;
string[] strarr;arrLst.Add("[email protected]");
arrLst.Add("[email protected]");
arrLst.Add("[email protected]");strarr = (string[])arrLst.ToArray(typeof(string));
strFinal = String.Join(",", strarr);
MessageBox.Show(strFinal);