111,097
社区成员




string str1 = "abcdef";
string str2 = "abc";
if (str1.Contains(str2))
{
Console.Write("abc");
}
else
{
Console.Write("def");
}
string str1 = "abcdef";
string str2 = "abc";
if (str1.Contains(str2))
{
//执行一个批处理文件
}
else
{
//执行另一个批处理
}