I'm trying to get the quotation marks as they are... to be displayed when creating a text file. And for that I'm using the following code.
When I'm writing code in the Visual Studio, I'm not seeing any errors with the following code but when I'm trying to debug... then I'm getting an error.
Can anyone tell me what's going on, what am I doing wrong here.
Dim qmQuotes As Char = Convert.ToChar(&H2022) ' "
Dim Restabs As String =
String.Format("[restabs alignment={1}osc-tabs-left{1} responsive={1}false{1} tabcolor={1}#d1d1d1{1} seltabcolor={1}#000000{1}]", qmQuotes)
Dim objWriter As New System.IO.StreamWriter("d:\value1.txt", True)
objWriter.WriteLine(Restabs)
Btw My Desired output is
[restabs alignment="osc-tabs-left" responsive="false" tabcolor="#d1d1d1" seltabcolor="#000000"]
Thank You.