VB.net write character code to file

I am writing a vb.net console application which writes to a file.  I have to write the character code (31) as my column delimiter and character code (29) as my row delimiter.  How would I go about writing these character codes using system.io.streamwriter and the .Write() or .WriteLine() method(s).  Thanks in advance.
Who is Participating?
CodeCruiserConnect With a Mentor Commented:
Use Asc() function. So for example

writer.Write("Some Text" & Asc(31) & "Some more text" & Asc(29))
PaulconsultingAuthor Commented:
Perfect thanks!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.