Click or drag to resize

StringUtilContains Method (String, String)

Check if the specified string array contains the specified string.

Namespace:  Nova.Utilities
Assembly:  Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax
C#
public static bool Contains(
	this string[] thisArray,
	string value
)

Parameters

thisArray
Type: SystemString
The array to be searched.
value
Type: SystemString
The string value to search for.

Return Value

Type: Boolean
True if the string array contains the specified value.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also