G
Guest
What is the difference of == and Object.Equals()
If I want to query werther to pointers are pointing to same instance, do I
use == or Objects.Equals?
foo a,b;
if ( a == b ) ... or
if (a.Equals(b))
If I want to query werther to pointers are pointing to same instance, do I
use == or Objects.Equals?
foo a,b;
if ( a == b ) ... or
if (a.Equals(b))