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 is Implementation inheritance and interface inheritance?
Is c# still popular?
What is the syntax for calling an overloaded constructor within a constructor?
Structs are largely redundant in c++. Why does c# have them?
What exactly is serverless?
What is difference between float and decimal?
Difference between directcast and ctype.
How do you name a variable in c#?
Why delegates are required?
How you will handle session when deploying application in more than a server? Describe session handling in a webform, how does it work and what are the limits?
C# is case sensitive, what is mean by case sensitive
To whom a method is accesssed if it is marked as protected internal ?