I dont know why I always have trouble workign with array lists. I want to convert an array list to an array of strings. I tried this but I get an error:
string[] result=(string[])arrConvos.ToArray (typeof(string[]))

the error is: "At least one element in the source array could not be cast down to the destination array type."


this works well, but shouldnt there be another way for this? why doesnt the above code work?
Code:
    result= new string[arrConvos.Count-1];
    for (int i=0; i<result.Length; i++)
        result[i] = arrConvos[i].ToString();