public void MoveUp(int index) { if (index <= 0) { return; } var item = this.items[index]; this.items.RemoveAt(index); this.items.Insert(index - 1, item); }