Search code examples
When is a `using var` disposed? Is it out-of-scope as soon as possible or at the end of the block?...


c#scopeusingidisposableusing-statement

Read More
When should I use GC.SuppressFinalize()?...


c#.netgarbage-collectionidisposablesuppressfinalize

Read More
Should I Dispose() DataSet and DataTable?...


datatabledatasetdisposeidisposableusing

Read More
Should HttpClient instances created by HttpClientFactory be disposed?...


.net-coredotnet-httpclientidisposableasp.net-core-2.1httpclientfactory

Read More
Expected behavior of `using` statement on type not implementing `IDispoable`?...


c#idisposable

Read More
Using a null IDisposable value with the using statement...


c#nullidisposableusing-statement

Read More
When or if to Dispose HttpResponseMessage when calling ReadAsStreamAsync?...


c#.netstreamidisposabledotnet-httpclient

Read More
Do I need to check if the object is null before a dispose() command?...


c#disposeidisposable

Read More
Entity Framework and calling context.dispose()...


entity-frameworkentity-framework-coredbcontextidisposable

Read More
Proper use of the IDisposable interface...


c#.netgarbage-collectionidisposable

Read More
Disposing objects in the Destructor...


c#disposeidisposable

Read More
Struct and IDisposable...


c#.netidisposableusing

Read More
Will Dispose() be called in a using statement with a null object?...


c#idisposableusing

Read More
DefaultObjectPool do not dispose objects...


c#asp.net-coreidisposableobjectpool

Read More
Do I need to dispose or destroy custom cursors...


c#custom-controlsidisposablecursors

Read More
Should I separate Dispose logic into a partial class file?...


c#idisposablerefactoring

Read More
Is Microsoft IDisposable pattern actually correct?...


c#idisposable

Read More
Duck typing in the C# compiler...


c#idisposableduck-typing

Read More
How can I ensure Dispose() is called on an advanced function's local variable on stop signal?...


powershelllifetimeidisposablepowershell-5.1

Read More
Implementing IDisposable on a subclass when the parent also implements IDisposable...


c#.netinheritanceidisposable

Read More
Looking for a design pattern similar to IDisposable (and Using)...


c#design-patternsidisposable

Read More
Why is 'using' improving C# performances...


c#disposeusingidisposable

Read More
Will System.Runtime.Caching.MemoryCache dispose IDisposable items when evicted?...


c#cachingidisposable

Read More
How to return a Stream from a method, knowing it should be disposed?...


c#streamfilestreamusingidisposable

Read More
C# ValueTuple with disposable members...


c#usingidisposablevaluetuple

Read More
Implementing IDisposable in an API...


c#.netapi-designidisposable

Read More
Ensure that dotnet Tasks are stopped when they go out of garbage collector scope...


c#.nettask-parallel-libraryidisposablefinalizer

Read More
IAsyncDisposable: should DisposeAsyncCore call Dispose(false)?...


c#idisposableiasyncdisposable

Read More
Implementing both IDisposable and IAsyncDisposable...


c#disposeidisposableiasyncdisposable

Read More
How to connect "using" keyword with Deconstruct method...


c#usingidisposable

Read More
BackNext