Handling Memory in .NET -
i beginner .net. .net says memory deallocation automatically handled, have read in many blogs block used dbconnections dispose.if automatically handled,why there need this. or,.net automatically handling resources excludes dbconnections?. please clarify..
finally block executed cleaning of resources. control passed block rid of resources. garbage collector you. there many times when explicitly want piece of code executed before gc comes picture.
sometimes there scenarios when want piece of code executed when there exception comes picture.
Comments
Post a Comment