18 Mayıs 2016 Çarşamba

GC Sınıfı

Collect metodu
Açıklaması şöyle
All objects, regardless of how long they have been in memory, are considered for collection;however, objects that are referenced in managed code are not collected. Use this method to force the system to try to reclaim the maximum amount of available memory.
Şöyle yaparız.
GC.Collect();


Hiç yorum yok:

Yorum Gönder