public override bool Equals(object obj) { var cmp = obj as YouTubeVideo; if (cmp == null) { return(false); } return(VideoId.Equals(cmp.VideoId)); }
public bool Equals(Suggestion other) { return(TypeId.Equals(other.TypeId) && VideoId.Equals(other.VideoId)); }