title: Return a string array from a function without initialising it first
body: <pre><code>Public Function Foo() as String()
  Dim bar As String = {"bar1","bar2","bar3"}
  
  Return bar
  End Function
  </code></pre>
  
  <p>My situation is similar to the code sample above where I'm returning a string array from a function.</p>
  
  <p>What I would like to do is just return the string array without having to declare a variable first and then return the variable.</p>
  
  <p>Something like this, although this obviously doesn't work:</p>
  
  <pre><code>Return {"bar1","bar2","bar3"}
  </code></pre>
  
  <p>Is it possible to do this, I can't seem to find a method that works?</p>