public static void Main(string[] args){ LongBitArray test = new LongBitArray(5000000000); test[2000000000]=true; Console.WriteLine(test[2000000000]); Console.ReadLine(); }
public static void Main(string[] args) { LongBitArray test = new LongBitArray(5000000000); test[30] = true; test[31] = true; Console.WriteLine(test[30] + " " + test[31]); test[(long)Int32.MaxValue + 30] = true; test[(long)Int32.MaxValue + 31] = true; Console.WriteLine(test[(long)Int32.MaxValue + 30] + " " + test[(long)Int32.MaxValue + 31]); Console.ReadLine(); }