C# Programming
08-04-2009, 05:14 PM
Hello all ,
I have couple of questions .
1.why do we need to call forcibly Garbage Collector when we dont know which object is going to be destroyed ? I mean i would like to know the scenarios where exactly we need this .
2. i have requirement that i need a custom class in which i can destroy the class when needed. is it possible ? if yes can u lease give me code to do it .
3. How can i say this resource is Unmanaged and this one is managed ?
Apologises incase of trouble.
Regards,
Jaddu
I have couple of questions .
1.why do we need to call forcibly Garbage Collector when we dont know which object is going to be destroyed ? I mean i would like to know the scenarios where exactly we need this .
2. i have requirement that i need a custom class in which i can destroy the class when needed. is it possible ? if yes can u lease give me code to do it .
3. How can i say this resource is Unmanaged and this one is managed ?
Apologises incase of trouble.
Regards,
Jaddu