Archives
-
Ian Griffiths: "You can't just leave everything to the GC"
In another follow-up to the thread I mentioned in my previous post, Ian Griffiths talks about some common misunderstandings about how .NET’s Garbage Collector works and how you interact with it via IDisposable. In this reply he also mentions:
-
Handing out Disposable objects
Vince asks a question about handing out Disposable objects:
-
OpenFileDialog and the current directory
Just found out something odd that I never noticed before. If you use the OpenFileDialog class to allow a user to select a file, then once they’ve selected a file, the directory that file is in is now your application’s current directory! Huh? Seems odd to me.