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 private in c#?
Define c# i/o classes?
What does a constructor do c#?
Is a decimal an integer?
How can you sort the elements of the array in descending order?
1 Answers Junosource, Siebel Systems, Wipro,
What is the use of list in c#?
How do you declare a method in c#?
Can you change the value of a variable while debugging a C# application?
what is the equivalent to regsvr32 and regsvr32 /u a file in .net development?
hi, is compulsory .net knowledge need for biztalk server training. if need, how far?.tell me some info abt real time instructors in hyd or other?
What is poco c#?
Is c# good for games?
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)