c# - When should I create a destructor? -
for example:
public class person { public person() { } ~person() { } }
when should manually create destructor? when have needed create destructor?
the c# language calls these "destructors", people call them "finalizers" since .net name , reduces confusion c++ destructors (which quite different).
Comments
Post a Comment