1、string转double数组
var arr = num_str.Split(','); var new_arr = Array.ConvertAll<string, double>(arr, s => double.Parse(s));