why destructor is not over loaded?

Answer Posted / gyana

In c# we cannot over load the desructor as because
destructor is presented by defaultly in c# and we cannot
create any object of it.we cannot also define a new
desructor.It cannot be explicitly used.for this reason we
cannot invoke the desructor and it cannot be overloaded..

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is polymorphism what is it for and how is it used?

580


What is abstraction with example?

619


what are the different types of qualifier in java?

1847


What is difference between inheritance and polymorphism?

582


2. Give the different notations for the class.\

1596






What are oops functions?

594


Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?

4251


What is byval and byref? What are differences between them?

1699


What is new keyword in oops?

601


Is react oop?

618


Can destructor be overloaded?

605


What is polymorphism and its types?

609


What is object-oriented programming? Webopedia definition

736


What is solid in oops?

623


What are the 5 oop principles?

612