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