I would advise to use the 'using' syntax. All object that are disposable can use this syntax.
Maybe if you call Dispose() only is not enough: for example, when using a StreamWriter, this should be...
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: dannystommen Search: Search took 0.03 seconds.
Results 1 to 1 of 1
|
Click Here to Expand Forum to Full Width |