Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

String.Contains Method

.NET Framework 3.5

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

Community Additions

ADD
Show:
© 2015 Microsoft