2011年8月3日

摘要: 1.比如输入:I love you,I love all of you!!返回: I 2 love 2 you 2 all 1 of 1Solution: public class MyClass { public static voidWordCounter(string str) { char[] n=str .ToCharArray(); List<string > sb = new List<string>();intj=0; for(int i = 0; i < str.Length; i++) { if(!Char.IsLetter(n[i])) // 阅读全文

posted @ 2011-08-03 09:00 flydreamer 阅读(478) 评论(0) 推荐(0)


博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3