How do you make sure that objects what your creating while using application they are disposed properly what are the different rules or checklist you follow?
Objects are of two types managed and unmanaged object Managed objects are the objects which can be collected and cleared by GC like value value type object Unmanaged are the objects which can not be cleared by GC, we need to clean and disposed them manually by code, we can use destructor for it.