title: Is there a way to return multiple types in a VB .Net function? (not a Tuple, like PHP internal functions)
body: <p>So you know how PHP internal functions usually return a boolean <code>FALSE</code> when a function fails, or some other data type when the function succeeds? Is this possible in VB .Net?</p>
  
  <p>For instance, lets say this simple code here</p>
  
  <pre><code>Public Function TrySomething(ByVal Param As String) \\what would go here??
      If Param &lt;&gt; "MAGICWORD" Then
          Return False
      Else
          Return "You Win!"
      End If
  End Function
  </code></pre>
  
  <p>You see I want to return a BOOLEAN false when a function fails, and a string when the function works. Any ideas? I've looked everywhere, and when I search for "return multiple types" all I find is Tuple.</p>