In the case if multiply inputs should be queried, it is much preferred to use GetInputs method, which retrieves state of all inputs at once.
public short GetInput( int input ) { if ( ( input < 0 ) || ( input >= Count ) ) { throw new ArgumentOutOfRangeException( "Invalid input is specified." ); } return GetInputs( )[input]; }