摘要: 1. 将字符串“I am a good man” 输出为:“man good a am I”usingSystem;namespaceConsoleApplication3{classProgram{staticvoidMain(string[]args){stringstr="Iamagoodman";string[]arrayStr=str.Split(''); //将字符串截取后存入数组中Array.Reverse(arrayStr); //反序数组元素foreach(variteminarrayStr){Console.WriteLine(item) 阅读全文
posted @ 2011-06-22 02:32 ゞ追忆o0ゞ 阅读(1761) 评论(6) 推荐(0) 编辑