I have some understanding of Garbage collection but need some more clarifications.
Which all are unmanaged and managed resources?
Is database connection an unmanaged resource, if I open a database connection would I be creating an unmanaged resource.
What is the difference b.w finalize and dispose. Do I have to call dispose for both managed and unmanaged resources or finalize method for umanaged resources.
Setting objects = null, does that mean it clears out the memory allocated to them.
View Complete Post