Hi all,
If we dont dispose the objects in finally what happens??
In my opinion if the objects are not disposed properly the application might run slowly because of improper resources.Am i right??
IF i am returning a dataset then in finally block if I dispose the dataset ,in any of the situation is it wrong.
OR suppose if I dont dispose,and there are so many dataset objects in the application.and in all I am retruning the ds.
Will that cause the resources scarcity or the application will become slow.??
I am little confused.Can any one clear my confusion.
It will be of great help.
Thanks.
If we dont dispose the objects in finally what happens??
In my opinion if the objects are not disposed properly the application might run slowly because of improper resources.Am i right??
IF i am returning a dataset then in finally block if I dispose the dataset ,in any of the situation is it wrong.
OR suppose if I dont dispose,and there are so many dataset objects in the application.and in all I am retruning the ds.
Will that cause the resources scarcity or the application will become slow.??
I am little confused.Can any one clear my confusion.
It will be of great help.
Thanks.