J
JohnMSyrasoft
I'm coding in VB.NET 2005 with a Using block and a StreamWriter as in
Using strWrite As New IO.StreamWriter(fileName, True)
strWrite.WriteLine(Now & vbTab & cLineToWrite)
End Using
Should I explicitly call the Close method on the StreamWriter or is the
object closed and disposed when the Using block is exited?
Thanks for your insights.
Using strWrite As New IO.StreamWriter(fileName, True)
strWrite.WriteLine(Now & vbTab & cLineToWrite)
End Using
Should I explicitly call the Close method on the StreamWriter or is the
object closed and disposed when the Using block is exited?
Thanks for your insights.