-
Reverse Collection
Hi All,
I am trying to implement some methods so I can do the below functions
Code:
public MyCollection BringToFront(MyCollection coll)
{
MyCollection tem = coll;
tem.Reverse(Index,0);
return tem;
}
public MyCollection BringCloser(MyCollection coll)
{
}
public MyCollection SendToBack(MyCollection coll)
{
}
public MyCollection SendFurther(MyCollection coll)
{
}
But I am having some difficulties, couls someone please show me how to do this?
Thanks
Loftty
-
Re: Reverse Collection
Maybe somebody else does, but I have no idea what you want to do in those functions. Can you actually explain what you want to do?
-
Re: Reverse Collection
Try reading your own post and ask yourself whether you would have any idea what it was about if that was all the information you had. Now do that every time you post. If you would like us to take the time to help you then please take the time and make the effort to provide a clear description of the problem. The character limit per post is several thousand, so don't be afraid to provide a bit more information.
-
Re: Reverse Collection
I think you might want a Queue or a Stack, not a collection.