I have an object of type T
which implements IComparable<T>
. Is it okay when implementing bool Equals (T obj)
to ommit the check if (ReferenceEquals(this, null)) { DoSomething() }
? Can I assume that since the function could be called this
is already not null?
Thank you very much.