Garabage Collector is the feature of CLS, basically it is working for managed code, It is used to remove unused data from memory and also provides free memory to the client requirement. To validate this always use finalize and destructor when use database connections
Garbage Collector: Garbage Collector can performe Underr the CLR.it can be Remove the unused objects from the HEAP Menory.Suppose you can develop teh Any .net Application in that what are the Unused Objects Removed by using Garbage Collector.we are no need to call the Garbage Collector,the CLR will take care About the Garbage Collector.Suppose we want call the Garbage Collector like this.System.Gc.Collet();