NETLink`
NETLink`

SameObjectQ

SameObjectQ[object1,object2]

returns True if and only if the NETObject expressions object1 and object2 refer to the same .NET object.

Details and Options

  • To use SameObjectQ, you first need to load .NET/Link using Needs["NETLink`"].