Class Car
Public PetName As String
Public ID As Integer
End Class
Module Program
Sub Main()
Dim myElement As String = _
"" & _
"Yellow " & _
"Yugo " & _
" "
Dim newElement As XElement = XElement.Parse(myElement)
Console.WriteLine(newElement)
Console.WriteLine()
' Load the SimpleInventory.xml file.
Dim myDoc As XDocument = XDocument.Load("SimpleInventory.xml")
Console.WriteLine(myDoc)
End Sub
End Module