I am attempting to assign a string value to a variable, and then I would like to print this assigned value with quotations, but I cannot figure out the proper syntax. An example of what I am trying to do is as follows:
Dim tU As String = String.Empty
tU = "U"
'How to print value of tU?>>>>should be "U"
Console.WriteLine("""tU""")
I cannot figure out how to print the value “U” with quotations?
Try this:
or to print the value of a variable: