Where CANNOT Destructors be implemented ?

Answers were Sorted based on User's Feedback



Where CANNOT Destructors be implemented ?..

Answer / siva

In Structure we cant give the Destructor Method.

Is This Answer Correct ?    18 Yes 2 No

Where CANNOT Destructors be implemented ?..

Answer / pragnyan pattnayak

In Structures we canot implement the Destructors and also
we canot give parameterless constructors.

Is This Answer Correct ?    8 Yes 1 No

Where CANNOT Destructors be implemented ?..

Answer / anand

Structures doesnt have descrutors..

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More C Sharp Interview Questions

What is the difference between dictionary and hashtable in c#?

0 Answers  


If there are 2 interface IParentInterface & IChildInterface as follows. interface IParentInterface { void InterfaceMethod(); } interface IChildInterface : IParentInterface { void InterfaceMethod(); } Both the interface contains method with same name InterfaceMethod(). How InterfaceMethod() will be handled in IChildInterface as its deriving IParentInterface

3 Answers  


List the difference between the virtual method and the abstract method?

0 Answers  


How do you remove the objects which are not in use?Explicitly or implicitly?What is the exact mechanism going behind?

2 Answers   Advanced Software Systems, Choice Solutions,


What does firstordefault mean in c#?

0 Answers  






Who is a accessibility modifier “protected internal” available to ?

0 Answers   Siebel,


Is string primitive?

0 Answers  


Can a constructor be private in c#?

0 Answers  


How do I enforce const correctness in c#?

0 Answers  


Which is the best way for keeping the data in XML or SQL server..and why?

8 Answers   Infosys, Satyam,


What is the main usage of keyword “virtual” ? How does it work for a method or property?

0 Answers   Siebel,


what is the difference between a struct and a class in c#?

0 Answers   4Cplus,


Categories