Can you declare a C++ type destructor in C# like ~MyClass() ?
Answer / 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 |
What are the types of methods in c#?
Can you prevent your class from being inherited and becoming a base class for some other classes?
Explain the difference between boxing and unboxing.
How do you implement multiple inheritance in .NET?
Explane each and every methods of nterface Queue? Explain About performance issues on retrieving records
What is event sourcing in c#?
How to run the program at particular time? It should run everyday at 3:00 PM. After executing the program should sleep until next day at 3:00 PM. Please explain with code?
What is the difference between interface and abstract class ?
What is difference between struct and class in c#?
how to implement a web service in .net
How can you use abstract class and interface?
What is the use of properties window?