StringsEquals Method

Determines whether two specified System.String objects have the same value. A parameter specifies the culture, case, and sort rules used in the comparison.

Definition

Namespace: Aliquo.Core
Assembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
C#
public static bool Equals(
	Object stringA,
	Object stringB,
	StringComparison comparisonType = StringComparison.OrdinalIgnoreCase
)

Parameters

stringA  Object
The first string to compare, or .
stringB  Object
The second string to compare, or .
comparisonType  StringComparison  (Optional)
One of the enumeration values that specifies the rules for the comparison.

Return Value

Boolean
if the value of the stringA parameter is equal to the value of the stringB parameter; otherwise, .

See Also