Uniquely Identifying Reference Types in the Debugger

前端 未结 4 771
自闭症患者
自闭症患者 2020-12-01 13:24

I come from a C++ background, so apologies if this is a non-C# way of thinking, but I just need to know. :)

In C++ if I have two pointers, and I want to know if they

4条回答
  •  既然无缘
    2020-12-01 14:06

    You could use the Immediate Window and use Object.ReferenceEquals(obj1, obj2) to test this out!

提交回复
热议问题