BitArray a = new BitArray(8); a.SetAll(false); a[2] = true;
BitArray a = new BitArray(8); a.SetAll(false); a[2] = true; BitArray b = new BitArray(8); b.SetAll(false); b[2] = false; BitArray xor = a.Xor(b); Console.WriteLine(xor[2]);