[C#] 常用函数

查找字符串:

string test="a,b,c,de";

方法1:Contains

test.Contains("b")  //返回值 true

方法2:Equals

test.Equals("b")  //返回值 false

原文地址:https://www.cnblogs.com/shengwei/p/4990662.html