System.ExtensionMethods.Contains C# (CSharp) Метод

Contains() публичный статический Метод

public static Contains ( this @this, string value, System.StringComparison comparisonType ) : bool
@this this
value string
comparisonType System.StringComparison
Результат bool
        public static bool Contains(this string @this, string value, StringComparison comparisonType)
            => @this.IndexOf(value, comparisonType) != -1;
    }