Here is my code in VB.net. It displays AB, CD, EF. How do I make a subroutine
so I can call like: Sub-name(field65, field547, field66)
?
Sub main()
Dim fileName As String = "C:\AAA\test5.xml"
Dim root As XElement = XDocument.Load(fileName).Root
Dim a = root.<field65>.Value
Dim b = root.<field547>.Value
Dim c = root.<field66>.Value
Console.WriteLine(a)
Console.WriteLine(b)
Console.WriteLine(c)
Console.WriteLine("Please Press any key to continue!")
Console.ReadKey()
End Sub