using Numbers.NumberFactory.NumberImpls; namespace Numbers.NumberFactory; /// /// A factory that creates instances /// public static class Factory { /// /// Creates an instance for the given /// /// Number factory type to create /// Lower bound of the number range /// Upper bound of the number range /// Appropriate instance or null if requested type is unknown public static INumbers Create(NumberType type, long lowerBound, long upperBound) { // TODO return null!; } } /// /// Possible number factory types /// public enum NumberType { Even, Odd, Square, Prime }