string.contain c# code example
Example 1: c# string contains
bool b = s1.Contains("myString");
Example 2: c# string contains
var str = "a string to search in";
bool isIn = str.Contains("a string");
bool b = s1.Contains("myString");
var str = "a string to search in";
bool isIn = str.Contains("a string");