I have a system function in VB.net that return a list of Strings (I've debugged this function). And right now I need to call that system function in VBScript. How can I get that list of strings?
VB.net system function
Public Function someList As List(Of String)
Return List
End Function
VBScript:
Dim results
Set results = System.someList
For Each result In results
wscript.echo result
Next

ArrayListorStringBuilder).WScriptis an intrinsic object provided by the runtime environment (more specifically by the interpreterswscript.exeandcscript.exe). The same does not apply to the .NetSystemnamespace.