代码分析-C#入门经典教程

代码分析关键代码: Split()方法——分割字符串splitStrings = inputString.Split(' '); //将分割后的字符串使用下划线连接在一起joinString = string.Join("_", splitStrings);返回值为字符串数组字符串变量名参数:分隔符(char型)返回字符串静态方法参数1:连接符参数2:字符串数组Join()方法——连接字符串
ppt 文件大小:4.81MB