The problem here is knowing what needs to be disposed. You can say "resources", but then what qualifies a a resource? A connection object? A SqlDbCommand object? A SqlQueryParameter object? What makes a FileStream object a resource and how does a dev know whether a FileInfo or File object is also a "resource"?
Thank you straight to the point
short and very well explained :) Thank you i am a dummie becoming less dummie :) hahaha
Thank you, bro
Thx
The problem here is knowing what needs to be disposed. You can say "resources", but then what qualifies a a resource? A connection object? A SqlDbCommand object? A SqlQueryParameter object? What makes a FileStream object a resource and how does a dev know whether a FileInfo or File object is also a "resource"?
ram