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 |
Is is possible to force garbage collector to run?
In which order the constructor is called for an inherited class?
What is array formula?
Can we have multiple threads in one app domain?
What does clr stand for?
Where is the main method in c#?
Describe two uses of the “using” statement during the operation of c#?
How to declares a two-dimensional array in C#?
In a stored procedure 4 select stmts there.If error comes in one select stmt will remaining normally executes?
Enlist the different types of classes in c#?
What is console used for?
Is nullable type c#?
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)