ivan-feric submitted these extension methods

  • In

    Returns true if this string is any of the provided strings. Equivalent to IN operator in SQL. It eliminates the need to write something like 'if (foo == "foo1" || foo == "foo2" || foo == "foo3")'
    C# System.String Ivan Ferić
  • In

    Checks if object is any of provided values separated by comma
    C# System.Object Ivan Ferić