Answer the question
In order to leave comments, you need to log in
C# wpf - how to write a constantly used method?
Hello.
I'm creating a simple window application in c# + wpf.
C languages in which you need to work or monitor memory did not work.
Tell me how to do it right - when I click on the button, several objects are created and some actions are performed, the button will be pressed often.
Do I need to somehow delete objects after the method has completed so that they do not remain in memory? Or is it handled by the garbage collector?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question