# Dispose of [idisposable]?

There are 3 questions tagged , one closed as off-topic, the other two featuring an IDisposable implementation.

I don't think we need a tag for any specific interface of the .NET framework - that includes , which is the only other tag I've found for a .NET interface.

These interfaces are part of a framework; I believe tagging with would be much more relevant, especially since we're talking, with the two tags combined, about merely 20 questions, vs. 520 for the framework tag.

My reasoning is that the tag is most relevant when a question is about specifics of the framework, and both IEnumerable and IDisposable perfectly fit in there.

The opposite direction is annoying IMO: we could very well end up with and and whatnot - I think posts about the .NET framework should be tagged with , and that we don't really need a tag for specific interfaces. The mechanics of IDisposable are intrinsic to those of the framework itself, as are those of IEnumerable.

I think these interface tags need to burn, and be replaced with .

• Given that I don't get any [ns...] tags, I emphatically agree. – nhgrif Jul 1 '15 at 1:45
• If you're also for burninating ienumerable, then you can probably revise this question as such. It doesn't look like there are any differences in terms of worth. – Jamal Jul 1 '15 at 2:52
• @Jamal I'll make a separate post for IEnumerable, linking to this one. – Mathieu Guindon Jul 1 '15 at 3:14
• – nhgrif Jul 4 '15 at 20:24

The was unnecessary on Would you utilise "Using" on a member which is going to be added to a list? so I removed it (the closed question).

The question Async distributed locking with StackExchange.Redis is also a poor question, and I am considering closing it. The question is basically: "I am using iDisposable on an async system, but it should only be used on a sync system, can I still use it?" Despite the upvotes, it's not really a good code review question... well, the code is OK, but the question is better on SO.... I have closed the question, and changed the tag to

The third question is WinSCP IDisposable Wrapper and the need to put the iDisposable in the title indicates the lack of need for it in the tags. I have changed that to .

The tag is now gone.

• What of IEnumerable? – Mathieu Guindon Jul 1 '15 at 3:02
• iEnumerable will probably take more time, and won't be a quick fix. Thoughts? If you want to go through them by hand then that's an option, @Mat'sMug – rolfl Jul 1 '15 at 3:04

would be a suitable and language agnostic replacement for .

From the memory management wiki (emphasis mine):

Memory management is the act of managing computer memory. The essential requirement of memory management is to provide ways to dynamically allocate portions of memory to programs at their request, and freeing it for reuse when no longer needed.

From the MSDN page for IDisposable.

Provides a mechanism for releasing unmanaged resources.

Sounds like memory management to me. If this tag pops back up, they should become synonyms.

• I actually did the same for one question and the OP told me it was incorrect. I don't recall the exact question, though. – Jamal Jul 4 '15 at 22:01
• That's a shame @Jamal. I would have liked to have seen the context and OP's reasoning. – RubberDuck Jul 4 '15 at 22:11
• Maybe I can try to dig it out by searching. – Jamal Jul 4 '15 at 22:16
• codereview.stackexchange.com/posts/67838/revisions – Jamal Jul 4 '15 at 22:21
• Hmm... I can't imagine why he didn't think it was relevant... He was actually forcing garbage-collection in that code, which was already made a synonym of memory-management. Odd. – RubberDuck Jul 4 '15 at 22:27