public static bool Equals(DataUnitID first, DataUnitID second) { if (first == null || second == null) return false; else return first.getValue() == second.getValue() && first.getMessageLength() == second.getMessageLength() && first.getParity() == second.getParity(); }
public static bool Equals(DataUnitID first, DataUnitID second) { if (first == null || second == null) { return(false); } else { return(first.getValue() == second.getValue() && first.getMessageLength() == second.getMessageLength() && first.getParity() == second.getParity()); } }
public bool Equals(DataUnitID test) { return(Equals(this, test)); }
public bool Equals(DataUnitID test) { return Equals(this, test); }