public static NotGate Nand(this ILogicGate gate, ILogicGate other) { return(gate.And(other).Not()); }