Skip to content
Discussion options

You must be logged in to vote

@dmitriyse

Even if we stay IDisposable/using as is, documentation for it should be significantly improved and give support/best practices for more use cases.

I think that modifying the documentation would be a lot easier than trying to change the patterns people use. I agree that it's probably worth expanding on the definition of "disposable". There have been a couple conversations about this already and seemingly the C# team themselves often can't agree on when and how to use IDisposable: #93 (comment)

My point about the number of years isn't about how long we've lived without a particular feature, it's about how much of an existing ecosystem there is. Lots of projects depend on IDispo…

Replies: 20 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by YairHalberstadt
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@quetzalcoatl
Comment options

@TahirAhmadov
Comment options

@TahirAhmadov
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Converted from issue

This discussion was converted from issue #3025 on November 16, 2020 08:25.