Using writefile.writeline

Simon Scott 306 Reputation points
2023-06-02T14:59:51.9066667+00:00

Good afternoon,

Simple question hopefully!

What is the code to write the following line of code to a text file please?

<characteristic uuid="bb5642fe-ad4b-456e-b2b6-0937556ba444" type="com.airwatch.android.androidwork.datetime" target="2">

I know you have to put in additional quote marks and some "&" to write the text above but cannot figure out how!

This is my attempt but i know it's incorrect

writeFile.WriteLine("<characteristic uuid=" & """bb5642fe-ad4b-456e-b2b6-0937556ba444"" type= & """com.airwatch.android.androidwork.datetime""" target=""2"">"")

Thanks

Simon

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,886 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Simon Scott 306 Reputation points
    2023-06-02T15:21:13.7633333+00:00

    Ignore this, i've sussed it! :)

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.