/** * The equals method doesn't always work--mostly on on classes that consist only of primitives. Be careful. */ public bool equals(MinefieldFamilyPdu rhs) { bool ivarsEqual = true; if (rhs.GetType() != this.GetType()) { return(false); } return(ivarsEqual); }
/** * The equals method doesn't always work--mostly on on classes that consist only of primitives. Be careful. */ public bool equals(MinefieldFamilyPdu rhs) { bool ivarsEqual = true; if(rhs.GetType() != this.GetType()) return false; return ivarsEqual; }