I've been looking at a few of these questions on StackOverflow but can't seem to work out why I can't get any of the resolutions working.
I have the following code:
Imports System
Public Module Module1
Public Sub Main()
dim myFirstName as string = "John"
dim myLastName as string = "Smith"
dim name as string = String.Format("<Person FirstName=\"{0}\" LastName=\"{1}\">", myFirstName, myLastName)
End Sub
End Module
and I'm passing in two variables that need to be enclosed in double quotes.
I keep getting an error for comma ) or another expression continuation continued.
I've got this on .Net Fiddle to try and replicate this.