Should I forward the a call to .Equals onto .Equals<T>?
- by Jaimal Chohan
So, I've got you bog standard c# object, overriding Equalsand implementing IEquatable
public override int GetHashCode()
{
return _name.GetHashCode();
}
public override bool Equals(object obj)
{
return Equals(obj as Tag)
}
#region IEquatable<Tag> Members
public bool Equals(Tag other)
{
…