Click or drag to resize

ConditionMethodsEquals2 Method (String, String, Boolean)

Compares two strings for equality.

Namespace:  NLog.Conditions
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public static bool Equals2(
	string firstValue,
	string secondValue,
	bool ignoreCase = false
)

Parameters

firstValue
Type: SystemString
The first string.
secondValue
Type: SystemString
The second string.
ignoreCase (Optional)
Type: SystemBoolean
Optional. If true, case is ignored; if false (default), case is significant.

Return Value

Type: Boolean
true when two strings are equal, false otherwise.
See Also