Empty Num={TotalItemCount} TotalItemCount PagesArray[PageIndex].Items[IndexInPage] ++IndexInPage IndexInPage = 0 ++PageIndex