public BitArray(int size) { if (size < 1) { throw new ArgumentException("size must be at least 1"); } this.size = size; bits = makeArray(size); }