public void Initialize() { pl = new PaginateList<int>(3); for (var i = 0; i < 10; i++) { pl.Add(i); } }