We use design patterns to solve common design problems and reduce the complexities in our source code.

The Memento design pattern is a behavioral design pattern that can be used to provide an undo or rollback capability in an application, or simply to reset the state of an object in an ASP.Net web application, for example.

By storing an object’s state to an external location called a Memento, this pattern allows that state to be restored to the object at a later time. Let’s explore how we can use the Memento design pattern in C#.To read this article in full, please click here(Insider Story)

Leave a Reply