WriteLine puts Quotes

  • Thread starter Thread starter AW
  • Start date Start date
A

AW

Stupid(?) basic question:
XP VB 2008 - WriteLine writes a string to a file AND puts Quotes
around it But Console.WriteLine just writes the string. Why?
When I Bing search - many want more quotes, not less.
One asked my question but the answer requires membership.
Thanks in advance.
 
AW said:
Stupid(?) basic question:
XP VB 2008 - WriteLine writes a string to a file AND puts Quotes
around it But Console.WriteLine just writes the string. Why?
When I Bing search - many want more quotes, not less.
One asked my question but the answer requires membership.
Thanks in advance.

What writeline are you talking about that adds quotes?
StreamWriter.WriteLine doesn't, and that is the one I'm guessing you
used for a file.
 
What writeline are you talking about that adds quotes?
StreamWriter.WriteLine doesn't, and that is the one I'm guessing you
used for a file.

Actually no, being out of date, I thought the older simpler(?)
WriteLine(fileNo, string) should be just as good.
So thanks for giving me the push - it works - no quotes -
just like you said.
 
Back
Top