Can you declare a C++ type destructor in C# like ~MyClass() ?
Answer Posted / mr vinod kumar
Yes, but what's the point, since it will call Finalize(), and Finalize() has no guarantees when the memory will be cleaned up, plus, it introduces additional load on the garbage collector.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is parallel programming in c#?
What is parsing?
what is IDisposal interface
Explain the difference between class and interface in .net?
Can we set image Source dynamically using C# in WPF application?
What is the difference between continue and break statement?
Define xslt.
What is the benefit of interface in c#?
What is use of singleton class in c#?
What is extension method in c sharp?
What is the difference between c and c sharp?
Why is ienumerable used?
What is the namespace for the thread class?
What is toint32 c#?
What do u mean by delegation of authority?