Quantcast
Viewing all articles
Browse latest Browse all 3874

Best way of a class killing itself?

Hello,

I have a console app that uses many classes. In one of them, following the class completing its work, I’d like it to kill itself.

What is the best way to do that?

Currently I am trying calling the Destructor Method.

Appreciate feedback.

Thank you,
Tim

6 posts - 4 participants

Read full topic


Viewing all articles
Browse latest Browse all 3874

Trending Articles