摘要:
一、利用Replace(效率不高) 代码1: string test = "good good study day day up";string r = test.Replace("oo", "");int num = (test.Length - r.Length)/2;Console.Write 阅读全文
posted @ 2021-08-02 09:53
番茄的梦想
阅读(4001)
评论(0)
推荐(0)
|
摘要:
一、利用Replace(效率不高) 代码1: string test = "good good study day day up";string r = test.Replace("oo", "");int num = (test.Length - r.Length)/2;Console.Write 阅读全文
posted @ 2021-08-02 09:53
番茄的梦想
阅读(4001)
评论(0)
推荐(0)
|