public override bool Equals(object obj) { if (obj == null) { return(false); } if (!(obj is ScanResult)) { return(false); } ScanResult res = (ScanResult)obj; if (!res.NewFile.ToLower().Equals(NewFile.ToLower())) { return(false); } return(true); }
public override int GetHashCode() { return(NewFile.ToLower().GetHashCode()); }