[C#] 常用函数时间:2023-03-08 20:08:56查找字符串: string test="a,b,c,de"; 方法1:Contains test.Contains("b") //返回值 true 方法2:Equals test.Equals("b") //返回值 false