How to create a shallow copy of BitArray in C#
BitArray.Clone() Method is used to create a shallow copy of the specified BitArray. A shallow copy of a collection copies only the elements of the collection irrespective of reference types or value types. But it does not copy the objects that the references refer to. The references in the new collection point to the same objects that the references in the original collection point to.
public object Clone ();
Elements of Original BitArray: False False True True Elements of Cloned BitArray: False False True True Reference Equals: False