Does the Equals (==) operator check for identity (reference) or value (content)?
I’d like to check against value, ie that both items have the same content.
Does the Equals (==) operator check for identity (reference) or value (content)?
I’d like to check against value, ie that both items have the same content.
Yes, it does.