//string[] str1 = str.Split('_'); //单字符切割
string[] str1 = str.Split(new Char[]{'_','.'}); //多字符切割
string a = str1[0];
string b = str1[1];
string c = str1[2];
split()的使用,str.Split('_'),单字符下划线切割
str.Split(new Char[]{'_','.'}); 下划线,点多字符切割
//string[] str1 = str.Split('_'); //单字符切割
string[] str1 = str.Split(new Char[]{'_','.'}); //多字符切割
string a = str1[0];
string b = str1[1];
string c = str1[2];
split()的使用,str.Split('_'),单字符下划线切割
str.Split(new Char[]{'_','.'}); 下划线,点多字符切割