static void Main(string[] args) { Bloom MyBloom = new Bloom(); string data = "Hello Bloom Filter"; MyBloom.AddData(data); string data2 = "Hello Bloom Filter"; Console.WriteLine(MyBloom.LookUp(data2).ToString()); Console.ReadLine(); }
static void Main(string[] args) { Bloom bloom = new Bloom(); string data = "Hello Bloom Filter"; bloom.AddData(data); Console.WriteLine($"Added '{data}'"); //MessageBox.Show(bloom.LookUp(data).ToString()); Console.WriteLine($"Looking up '{data}'"); Console.WriteLine(bloom.LookUp(data).ToString()); var hello = "Hello, World!"; Console.WriteLine($"Looking up '{hello}'"); Console.WriteLine(bloom.LookUp(hello).ToString()); }