public override bool Equals(object obj) { var other = obj as FailedMessage; if(other == null) return false; return other.Id.Equals(Id); }