番茄的梦想

那一抹夕阳

  博客园  :: 首页  ::  :: 联系 :: 订阅 订阅  :: 管理

2021年8月2日

摘要: 一、利用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 番茄的梦想 阅读(3635) 评论(0) 推荐(0) 编辑