1
Answer

Idisposable Method

Photo of RIck Mueller

RIck Mueller

15y
2.4k
1

Hello
Silverlight I'm using a frame to navigate thru pages.xaml.
 It really takes a tool on the memory. What is the best method to clear the memory(clean up resources) when calling the page(s).
Is the Idisposable the best method or is there another solution?
Regards,

Answers (1)

0
Photo of Sam Hobbs
NA 28.7k 1.3m 15y

At the beginner level, usually the best method is nothing. There is a lot of experience and development done for C# and .Net. Therefore it is unlikely you need to do anything; it is probably done for you quite well.
 
So you need to be more specific about what you are asking. In what situation do you think you need to explicitly dispose objects?
Accepted