Garbage Collection in .NET Garbage Collector provide automatic Memory Management in .NET. It is Component of .net CLR (Common Language Runtime). Follow are the advantages…
Static classes and class members are used to create data and functions that can be accessed without creating an instance of the class. To separate…