using System.Collections; public class Test { public static void Main() { BitArray a=new BitArray(new int[]{1023}); foreach(int x in a) { } } }