Hi,
I would like to convert (box and unbox) a string[,] to ArrayList type.
I tried the following:
string[,] arrayHeaderInfo = new string[stringHeader.Length, 2];
stringHeaderSplitted = stringHeader[i].Split(",");
arrayHeaderInfo[i,0] = stringHeaderSplitted[0];
arrayHeaderInfo[i,1] = stringHeaderSplitted[1];
arrayListBoxing = (ArrayList)arrayHeaderInfo;
After compiling you will get this error: Cannot convert type 'string[*,*]'
to 'System.Collections.ArrayList'
Any sugestions?
Thanks,
Yama