Click or drag to resize
IntPtrEquality Operator
Determines whether two specified instances of IntPtr are equal.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public static bool operator ==(
	IntPtr value1,
	IntPtr value2
)

Parameters

value1
Type: SystemIntPtr
The first pointer or handle to compare.
value2
Type: SystemIntPtr
The second pointer or handle to compare.

Return Value

Type: Boolean
true if value1 equals value2; otherwise, false.
See Also