this.low = new NumberRange() { low = data.lowStart, high = data.lowEnd }; this.high = new NumberRange() { low = data.highStart, high = data.highEnd }; this.rangeFilter = new bool[1000]; foreach (var num in low.Concat(high)) { rangeFilter[num] = true; } }