Hi
How to increase the object life time in c#.net?
Cheers,
Ramesh.KR

What do you mean by lifetime?

As long as you have a strong reference to the object, it won't be garbage collected.

Dont worry about the garbage collecter

Dont worry about the garbage collecter

I'm not, you are the one that wants to 'increase lifetime'. The lifetime of an object is until it is garbage collected.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.