Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
3
Reply
Can I use GC.Collect() in c# events & functions?
Bineesh Viswanath
Dec 26 2017 5:49 AM
137
Reply
Hi Sir,
I am currently on c# winform project.
I heard about the advantage of using the Garbage Collection in C#.
Some saying that It will affect the performance of application badly.
suppose I use GC.Collect(); in every event and functions, what will the result - speed up or not..?
I need your suggestion on this....
finally
{
GC.Collect();
}
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
what is the use of Quantum Computing?
Create a rating stars using bootstrap font awesome using c#