alc6379
Cookie... That's it
2,820 posts since Dec 2003
Reputation Points: 186
Solved Threads: 147
If not, perhaps the
.Dispose();
method will dispose of it?
tayspen
<Insert title here>
1,622 posts since Jul 2005
Reputation Points: 84
Solved Threads: 99
If not, perhaps the
.Dispose();
method will dispose of it?
That was my first thought, actually. But, then I found theusing 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...
alc6379
Cookie... That's it
2,820 posts since Dec 2003
Reputation Points: 186
Solved Threads: 147