Indicates whether this instance is equal to another object of the same type.
public bool Equals(LanguageName other)
parameter | description |
---|---|
other | An object to compare with this object. |
true
if this instance is equal to other; otherwise, false
.
Indicates whether this instance is equal to another object.
public override bool Equals(object obj)
parameter | description |
---|---|
obj | An object to compare with this object. |
true
if obj and this instance are the same type and represent the same value; otherwise, false
.