return method search substring in c# 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