阅读下列代码,请写出所有打印信息。 static void Main(string []args) { string strContent = "th
15、阅读下列代码,请写出所有打印信息。 static void Main(string []args) { string strContent = "this is "; strContent += "our new school"; Console.WriteLine("strContent的长度为:" + strContent.Length); Console.WriteLine("第一个空格的位置" + strContent.IndexOf(’ ’)); Console.WriteLine("最后一个空格的位置" + strContent.LastIndexOf(’ ’)); string[] str1 = strContent.Split(’ ’);//按空格将字符串分解成子字符串 Console.WriteLine(str1[0]); Console.WriteLine(str1[2]); Console.WriteLine(str14]); }