Hello programmers ! Can anyone tell me - how to delete an initialized reference-type element, which suggest some links? Is there for this in C # the special function?
Thank you for your answers))
vedro-compota 33 Posting Whiz
Recommended Answers
Jump to PostThe process is automatic once the reference has been dropped. The garbage collector sorts the memory out. You can however manually force it to collect.
http://www.developer.com/net/csharp/article.php/3343191/C-Tip-Forcing-Garbage-Collection-in-NET.htm
You would need to do some timings to work out whether or not manually forcing it will be quicker …
All 3 Replies
Momerath 1,327 Nearly a Senior Poster Featured Poster
N4JRY 12 Newbie Poster
vedro-compota commented: ++++ +1
vedro-compota 33 Posting Whiz
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.