Class LinearHelper
- Namespace
- SunamoNumbers
- Assembly
- SunamoNumbers.dll
Provides methods for generating sequential number lists and ranges.
public class LinearHelper
- Inheritance
-
LinearHelper
- Inherited Members
- Extension Methods
Methods
GetListFromTo(int, int)
Generates a list of integers from the start value to the end value (inclusive).
public static List<int> GetListFromTo(int from, int to)
Parameters
Returns
GetListFromTo<T>(int, int)
Generates a typed list of numbers from the start value to the end value (inclusive).
public static List<T> GetListFromTo<T>(int from, int to)
Parameters
Returns
- List<T>
Type Parameters
TThe target numeric type.
GetStringListFromTo(int, int)
Generates a list of string representations of numbers from the start value to the end value (inclusive).
public static List<string> GetStringListFromTo(int from, int to)