Should I call .Dispose() after returning an object that implements IDisposable?
myDisposableObject Gimme() {
//Code
return disposableResult;
disposableResult.Dispose();
}
In other words, is the object I return a copy, or is it the object itself? Thanks :)