string[] 转 int[]
string [] input = { "1" , "2" , "3" , "4" , "5" , "6" , "7" , "8" , "9" }; int [] output = Array.ConvertAll(input, delegate ( string s) { return int .Parse(s); });
int[] 转 string[]
int [] int_array = { 1, 2, 3 };
string[] str_array = Array.ConvertAll(int_array, new Converter<int, string>(IntToString));