We have developed a flexible-logic-gate single-electron device (SED) with an array of nanodots. Although the small size of SEDs is highly advantageous, the size of the nanodots inevitably fluctuates, which causes variations in device characteristics. This variability can be eliminated and high device functionality can be obtained by exploiting the oscillatory characteristics and multigate capability of SEDs. We fabricated, on a silicon-on-insulator wafer, a Si nanodot array device with two input gates and a control gate and investigated its basic operation characteristics experimentally. The device was demonstrated to operate as a logic gate providing six important logic functions ( and, or, nand, nor, xor, and xnor), which are obtained by adjusting the control-gate voltage.