Reset row numbers after deleting an item from generic list c# code example Example: c# clear list items MyList.Clear();