Is there any way to limit the size of a generic collection?
I have a Stack of WriteableBitmap which I am using to store a clone of a WriteableBitmap on each change,
You can use LinkedList which represents doubly link list to simulate Circular Stack.
You can you AddFirst() corresponding to Push(). If Count is 10, you can use RemoveLast().
Push()
For Pop() you can use RemoveFirst()
Pop()