摘要
本文主要利用C#的控制台上的一个例子:其接收用户输入字符串,将其中的字符以与输入相反的顺序输出。使用十种解法来达到结果,并利用算法分析了其优劣。好的算法是成功的关键,好的编程习惯会使成功更迈进一步.
This article mainly uses the example of C# in the Console:Its receiving user inputs the string of characters,outputting the characters in the opposite order of the inputting.Ten kinds of solutions have been used to achieve the result,and the methods have been used to analyze its good points.Good methods is the key to success and good programming habit enables the success one great step forward.
出处
《河套学院论坛》
2010年第2期69-75,81,共8页
HETAO COLLEGE FORUM
关键词
C#
控制台
逆序
C#
console
reverse order