There are three generations of trash collectors:  Generation 0: It indicates a completely new object that has not previously been tagged for collection.  Generation 1: It indicates an object that is classified as part of a collection but is not yet deleted.  Generation 2: This indicates that the item has been collected by the Garbage Collector multiple times.