Of all the IDisposable and GC videos I watched on UA-cam, this is the best one. Very well done.
Really great, after so many read and video, Today I got the clarity of Disposable pattern and finalize proper implementation. Thanks a lot. Expecting more from You regarding C#
This is the first video I see on this channel, and I'm really amused with this video! Great explanation!
This is just the best and complete explanation of this topic! Bravo!
Very beautifully and calmly explained. Thank you sir
really thanks. it was deep declaration!
After searching for so many articles on GC, IDisposable, Managed and Unmanaged resource, this one video makes everything clear to me. Nice explanation!
You covered all the points required to explain 1 concept. Well Done.. !!!
Great tutorial on this often confusing topic! Thanks a lot 🙏 🙏
i liked your video and solved my problem.
i was searching for the solution of my problem (given below) since 2 days.
Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.
I think this video was specially made for me.
Your video helped my a lot. Thank you very much
Such a great explanation! Thank you for the video!
That was AWESOME. Thank you very much!
My man thanks so much for this video. I had been searching everywhere for a "personal" explanation of this with a little perspective beyond a ms api ref, and this is exactly what I needed. I wish you had more videos. Cheers!
Thank you so much for your explanation. This is the best video for this topic I have ever seen.
This video is really helpful. Thank you for posting.
Thanks a lot. It is very simple and understandable for me!
Really a nice video it provided much clarity on the dispose and finalizer, thanks for the video and also suggesting to provide lot more videos on different complex topics
Perfect explanation!
Thank you so much. Good clear explanation. Started watching your all video's. One request, would you share finalizer solution with us. Thanks again 👍
very good video!
Good concepts and implementation. :)
Thank you!
Subscribed!
Thank you this is great
Isn't the DB connection an unmanaged resource?
Pretty Awesome🙂
thanks a ton
Why is a db connection a managed resource?
As far as I know, DB Connections are unmanaged resources, they work outside your App Domain and hence are no longer managed by CLR, Please correct me If I missed something or point me towards some article or document that explains it clearly.
Hi ! In the last few minutes of the clip, the field "isDisposed" is used. It is also checked in the overridden Dispose() method. But where is it set ? Pardon me if I have missed anything here
If you have a static class and that static class is creating 1 new connection to the database.
How do you clean up that connection when (1) program exit gracefully (2) when program exit via an exception.
Do you only use IDisposable when you get Timeout errors?
I thought finalizers are used to free managed resources, but its mentioned that finalizer clears unmanaged resources. Have I missed something?
Is there a reason you don't use curly braces? Are they not needed anymore? (21:31 in)
The database connection is not managed resource it is unmanaged resource
Thanks, looking forward for more videos 😊