VB.Net/File Directory/StringWriter
Use a StringWriter to write into a string
<source lang="vbnet"> Imports System Imports System.IO Imports System.Text
Public Class MainClass
Shared Sub Main() " Use a StringWriter to write into a string. Dim string_writer As New StringWriter() string_writer.WriteLine("www.vbex.ru") string_writer.WriteLine("www.vbex.ru") Console.WriteLine(string_writer.ToString) End Sub
End Class
</source>