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 the difference between TypeOf and GetType?
Can you create an instance of a static class?
What is data type in c# with example?
When was .net linq added?
Can constructor be private c#?
Can we inherit sealed class in c#?
What is COM Interoperability?
Is namespace a class?
Define method overloading in c#?
Which is faster array or arraylist in c#?
Are attributes inherited c#?
Explain the difference between abstract class and interface in .net?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)