title: Specifying default array values in an optional array parameter
body: <p>Optional parameters require default values, yet I can't seem to assign a default array to an optional array parameter. For example:</p>
  
  <pre><code>Optional ByVal myArray As Long() = Nothing ' This works
  </code></pre>
  
  <p>However</p>
  
  <pre><code>Optional ByVal myArray As Long() = New Long() {0, 1} ' This isn't accepted.
  </code></pre>
  
  <p>The IDE tells me that a "constant expression is required" in place of <code>New Long() {0, 1}</code>.</p>
  
  <p>Is there a trick to assigning a default array of constants, or is it not allowed?</p>