Which method is used to enforce garbage collection in .NET? | Eklavya Online

Which method is used to enforce garbage collection in .NET?

System.GC.Collect() method is used to enforce garbage collection in .Net.