Is is possible to force garbage collector to run? - C#.NET

Is it possible to force garbage collector to run?

- Yes, we can force garbage collector to run using System.GC.Collect().
- It can be used to avoid calling any of the collect methods and allow the garbage collector to run independently.
- It is better at determining the best time to perform a collection.
Role of data provider in ADO.NET - C#.NET
C#.NET - What is the role of data provider in ADO.NET? - ADO.NET supports the following OLE DB Providers...
Describe how a .Net application is compiled and executed - C#.NET
C#.NET - .Net application compilation and execution - Compilation can be done with Debug or Release configuration...
What is an Event? Define Delegate - C#.NET
C#.NET - What is an Event? Define Delegate - Delegates are kind of similar to the function pointers. But they are secure and type-safe...
Post your comment