namespace Numbers.NumberFactory; /// /// Defines the ability to pick numbers which fulfill a certain condition from within a specified range /// /// public interface INumbers : IEnumerable { /// /// Gets the n-th matching number in the range /// /// Index of the n-th number public long this[int index] { get; } /// /// Gets the lower bound of the number range /// public long LowerBound { get; } /// /// Gets the upper bound of the number range /// public long UpperBound { get; } /// /// Gets the amount of (filtered) numbers in the range /// public int Length { get; } }