What is the purpose of Dispose method?
Ask by Anonymous User
Updated 19 Sep 2020
This method is used to destroy the objects from the memory ,Dispose method free unmanaged resources. It controls the lifetime of instance object memory and provides explicit memory cleanup control, versus Finalize's .