title: How to pass a list (returned in a VB.net function) in VBScript?
body: <p>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?</p>
  
  <p><a href="https://i.stack.imgur.com/tQnaz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tQnaz.png" alt="enter image description here"></a></p>
  
  <p>VB.net system function</p>
  
  <pre><code>Public Function someList As List(Of String)
      Return List
  End Function
  </code></pre>
  
  <p>VBScript:</p>
  
  <pre><code>Dim results
  Set results = System.someList
  
  For Each result In results
      wscript.echo result
  Next
  </code></pre>