# control::And2

    sys::Obj
      sys::Virtual
        sys::Component
          control::And2

`public class And2` `[niagaraIcon="module://icons/x16/control/logic/and.png"]`

And2 And logic object

Ignores null inputs. If both inputs are null output is null. out = in1 && in2

in1

  `public property bool in1`

  input 1

in2

  `public property bool in2`

  input 2

out

  `public property bool out [readonly]`

  output

execute

  `public virtual override void execute()`

  Execute is called once every scan.