Garbage collection is the inbuilt feature of .Net Framework.So we don't need to call it.It will be automatically called to detect and release the memory of the object when that can be no longer to accessed.