public override bool Equals (object obj) { if (!(obj is Cursor)) return false; if (((Cursor)obj).handle == handle) return true; return false; }