Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: int?[][] GenerateCombinations(int, int, int, int, int, int)

Declaration

public static int?[][] GenerateCombinations(
    int minValue,
    int maxValue,
    int value1,
    int value2,
    int sum,
    int numAffectedCells
)

Summary

Returns a collection containing all combinations of numAffectedCells cells of values between minValue and maxValue in which the sum of the digits sandwiched between value1 and value2 is sum.