creating a list of consecutive integers in c#
- by Alex Bransky
If there's already a way to get a List<int> of consecutive integers without a loop in C#, I don't know what it is, so I created a method for it.
public static List<int> GetIntegerListFromRange(int start, int end) {…