//Define the Caretaker Object.

//The Caretaker class (object) stores an instance of the Memento class (object).
public class Caretaker
{
public Memento Memento { get; set; }
}