I am creating an object(obj below) in using and return that object as part of the function return.Will this cause any problem like object will be disposed before I try to us
Just my personal opinion and might not be the most correct, but the using construct should be used when a unit of work is defined in a scope and you would like the object in the using construct to be disposed.