倒序输出字符串
2010-07-19 09:50
225 查看
Code
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace strResverTest { class Program { static void Main(string[] args) { string s; Console.WriteLine("Please input you world!"); s = Console.ReadLine(); char[] myChar = s.ToCharArray(); for (int i = myChar.Length -1; i >= 0; i--) { Console.Write("{0}",myChar[i]); } Console.ReadLine(); } } }
相关文章推荐
- 输出字符串中偶数倒序
- Java实现字符串倒序输出的几种方法
- 字符串倒序输出
- java实现字符串倒序输出
- 字符串倒序输出
- Java实现字符串倒序输出的几种方法
- iOS -- 字符串倒序输出
- 字符串的倒序输出
- 倒序输出一组字符串。例如输入:“478.abc”,输出:“cba.874”
- JAVA基础算法——将字符串按照字典倒序排序并输出
- 对一个整数进行倒序输出(和字符串倒序输出方法一样)
- java中字符串倒序加逗号输出
- 将一个字符串倒序输出
- String 字符串的倒序输出
- C 把一个字符串倒序输出
- 字符串中的每个单词倒序输出
- for循环倒序输出字符串的几种方法
- hdu 1062(字符串的处理 倒序输出)
- 键盘输入一行字符串,每个字符倒序输出