Determines whether the current instance and the specified object represent the same type and value.
- obj
- The object to compare to the current instance.
true if obj is a IntPtr instance and has the same value as the current instance. If obj is a null reference or is not an instance of IntPtr, returns false.