This documentation is archived and is not being maintained.

String.Contains Method

Visual Studio 2008

Determines whether a sequence contains a specified element.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public Extension Method Contains(Char) Determines whether a sequence contains a specified element by using the default equality comparer. (Defined by Enumerable.)
Public Extension Method Contains(Char, IEqualityComparer<Char>) Determines whether a sequence contains a specified element by using a specified IEqualityComparer<T>. (Defined by Enumerable.)
Top
Show: