I'm baffled by something. I want to turn an ArrayList (which stores
strings) into an array of strings. I know I can use the ToArray method
and pass in a type. But I can't get the code right. Any help here? Am I
supposed to pass in a Type?
ArrayList myarr;
myarr.Add("foo");
myarr.Add("goo");
string[] mystrings= myarr.ToArray(??);
Mathew