Answers for "How to search for a string from readline in c#"

C#
1

How to search for a string from readline in c#

string s = "abc";//string to be searched
//'line' is the storing the line which is read
if(line.Contains(s))
{
   //action to be performed
}
Posted by: Guest on May-16-2020

Code answers related to "How to search for a string from readline in c#"

C# Answers by Framework

Browse Popular Code Answers by Language