If not, perhaps the method will dispose of it?
That was my first thought, actually. But, then I found the
using directive, and it looks like it does the Dispose() for you.
Keep in mind, I'm still somewhat new at C#, but there was some reason for including
using rather than disposing it directly. I'll have to grab one of the books I've bought to figure out why...
Reputation Points: 186
Solved Threads: 147
Cookie... That's it
Offline 2,519 posts
since Dec 2003