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 use LINQ on this case like;
LINQ
var yourbitarray = new BitArray(yourstring.Select(s => s == '1').ToArray());