public static IntegerList Repeat(int value, int count) { IntegerList result = new IntegerList(); for (int i=0; i < count; i++) { result.Add(value); } return result; }