摘要: [代码]// reverse 倒序输出 string str = Console.ReadLine(); for (int i = str.Length - 1; i >= 0; i--) { Console.Write(str[i]); } Console.ReadLine();对字符串处理的常见功能*计算字符串的长度*stringmyString="Thisisatest!";Conso... 阅读全文
posted @ 2009-07-15 00:33 Ry5 阅读(1490) 评论(3) 推荐(0) 编辑