解决方案1:string[] temp = al.ToArray();string result = string.Join("|",temp);解决方案2:ArrayList TO ARRAYstring.join(Array,"|");