Bridge

String..::..Equality Operator

Determines whether two specified strings have the same value.

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

Syntax


public static bool operator ==(
	string s1,
	string s2
)
Public Shared Operator = ( _
	s1 As String, _
	s2 As String _
) As Boolean
public:
static bool^ operator ==(
	String^ s1, 
	String^ s2
)

Parameters

s1
Type: System..::..String
s2
Type: System..::..String

Return Value

true if the value of a is the same as the value of b; otherwise, false.