Move item up in IEnumerable
- by Nina
Hi
I have a need to move an item in an IEnumerable< up, that is move one item above another. What is the simplest way to do this?
A similar question was asked here but I don't have a generic list only an IEnumerable<: http://stackoverflow.com/questions/450233/generic-list-moving-an-item-within-the-list