Bridge

String..::..Equals Method (String, String)

Determines whether two specified String objects have the same value.

Namespace:  System
Assembly:  Bridge (in Bridge.dll)

Syntax


[TemplateAttribute]
public static bool Equals(
	string a,
	string b
)
<TemplateAttribute> _
Public Shared Function Equals ( _
	a As String, _
	b As String _
) As Boolean
[TemplateAttribute]
public:
static bool^ Equals(
	String^ a, 
	String^ b
)

Parameters

a
Type: System..::..String
The first string to compare, or null.
b
Type: System..::..String
The second string to compare, or null.

Return Value

true if the value of a is the same as the value of b; otherwise, false. If both a and b are null, the method returns true.