Setting entire bool[] to false [duplicate] December 18, 2023 by Tarik default(bool) is false, just create the array and each element will be false. bool[] switches = new bool[20];