hello my firends
i have a web page that i define a static field in it.this filed increment in button_click and i use it in many events, one of my problem is my static filed don't free my memory.
how can i dispose static field?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sam HobbsPosted Jan 18, 2011, 3:45 PM
bahare gPosted Jan 18, 2011, 5:18 AM
very bad for me, then i want to delete it in memory when i close my ie . if static field don't allocate memory why when i stop my
visual studio static field has last value???
Kirtan PatelPosted Jan 15, 2011, 8:08 AM
ie Object that u created with "new " keyword