Session in C#

When we are working with an application on your computer, you open it, do some changes and then you close it. This is much like a Session.