Saturday, May 22, 2010

Destructors

  • It takes name of the class but has (~) operator.
  • No access specifier.
  • Decision to call the destructor is made by a program within C# called the garbage collector.
  • Cannot overload a destructor.

No comments:

Post a Comment