C# 2003 用什么方法代替Contains方法

如题所述

第1个回答  推荐于2016-01-15
string ssas = "";
if (ssas.IndexOf('a') >= -1)
{
//存在a
}本回答被提问者和网友采纳
相似回答