how to cleanup object that does not support dispose method?
How to implement dispose for such scenarios?
Answers were Sorted based on User's Feedback
Answer / rahul
i guess by using final function , but it is heavy operation.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / yogi
Can use System.GC.Collect() to clean up objects and force the garbage collection manually
| Is This Answer Correct ? | 2 Yes | 0 No |
What is an inheritance ?Give an example in which inheritance is used?
Distinguish between system.string and system.text.stringbuilder classes?
what is collections in .net? why we use?
What is difference between function and method in c#?
List the 5 different access modifiers in c#?
What are the types of assembly available
Can we use "this" command within a static method?
Can a class or a struct have multiple constructors?
Howmany five tracing levels in System.Diagnostics.TraceSwitcher? Why they are using?
What .exe means?
Is string nullable c#?
Can I get the name of a type at runtime?
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)