public void ConvertArrayListToarray()
{
ArrayList myArrayList = new ArrayList();
myArrayList.Add("Jhon");
myArrayList.Add("Jill");
myArrayList.Add("Jo");
myArrayList.Add("Chris");
String[] myArray = (String[])myArrayList.ToArray(typeof(string));
string str = string.Empty;
for (int i = 0; i < myArray.Length; i++)
str += myArray[i] + "\n";
}
Copyright © 2012 - All Rights Reserved - VKInfotek.com