📅  最后修改于: 2022-03-11 14:48:44.586000             🧑  作者: Mango
string s = "abc";//string to be searched
//'line' is the storing the line which is read
if(line.Contains(s))
{
//action to be performed
}