How to Read two XML files and return List(of object)?
I have two xml files. I have to read them and return as a List( Of object).
Here is my function.
Public Function GetData(ByVal name As String, ByVal city As String) As List(Of Object)
'Return Nothing
开发者_开发技巧End Function
Thanks,
NJ
You may change return type into "Object" and then make it type cast to "List (Of Object)" , though it's ugly
精彩评论