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

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -