
Sham Sunder is an MCA postgraduate engineer who loves to meddle with the Microsoft.NET platform. He has spent hours mastering the finer edges of ASP.NET. During his career as a web developer, he has handled a number of challenging commercial .NET projects, and now he has authored these free books with an objective of helping out young programmers. Since he has had a great flair with C#, the primary language in these books is C#, with occassional references to VB and C++.
DOTNET Training in Chandigarh
>> See All Training Courses at Hoven
Can we Force the DOTNET Garbage Collector to Run ? The DOTNET Garbage Collector is responsible for reclaiming un-referenced heap memory and compressing it from time to time. MSDN documentation says that it is not possible to predict the exact time at which the garbage collector will run. In fact, it may not run at all, if your program is too short, for example. However, it
is possible to place a request for running it immediately. It is a
request, but it is generally called 'forcing the garbage collector to run immediately'. You can place this request by calling the static function 'Collect' of the FCl class called GC
GC.Collect();
You can gain an in-depth knowledge of programming languages by joining Hoven's
Six Month Industrial Training in Chandigarh or specific advanced/intermediate/basic trainings like
Post by
Hoven on 16-Mar-2025