c# find substring in array string code example
Example: c# find substring in string
string fullName = "John Doe";
bool nameInFullName = fullName.Contains("John");
// nameInFullName is true
string fullName = "John Doe";
bool nameInFullName = fullName.Contains("John");
// nameInFullName is true