Move item up in IEnumerable
Posted
by Nina
on Stack Overflow
See other posts from Stack Overflow
or by Nina
Published on 2010-03-12T10:24:37Z
Indexed on
2010/03/12
10:27 UTC
Read the original article
Hit count: 328
c#
|ienumerable
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
© Stack Overflow or respective owner