1. Garbage CollectioninMicrosoft .NET Smitha Natarajamurthy 2. In and out of Garbage Collector.. GC in .NET…