What is the purpose of Dispose method?
1037
27-Mar-2018
Anonymous User
27-Mar-2018This 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 .