What is the smartest way to load a string like \"10101011101010\" directly into a new bit array? (not a byte array)
(The bits shoul
You can do it with LINQ:
var res = new BitArray(str.Select(c => c == '1').ToArray());