.net - Any Risk in Using Static Method in IDisposable? -
i have class implements idisposable , want make of methods static. doing have negative impact on memory management or else?
there shouldn't risk in calling static method there. i'm curious, though, why want to. idisposable
should dealing cleaning native resources used given instance. static methods don't work on specific instance of object (unless pass parameter). seems method call better instance method rather static one.
Comments
Post a Comment