title: Select Control Set Initial Value
body: <p>We know that with <code>InputSelect</code> we cannot use both @bind-value and @onchange...</p>
  <p>But if we use the latter (with <code>select</code> instead <code>InputSelect</code>), how can we set a initial value different from the first ? (eg. in this sample set to 2018, the value of a variable)</p>
  <p>Something like <code>if (i == month) =&gt; selected</code></p>
  <pre><code>&lt;select @onchange=&quot;ChangeYear&quot;&gt;
      @for (int i = 2015; i &lt; DateTime.Now.Year + 1; i++)
      {
          &lt;option value=&quot;@i&quot;&gt;@i&lt;/option&gt;
      }
  &lt;/select&gt;
  
  @code {
  
      int year = 2018;
  
      void ChangeYear(ChangeEventArgs e)
      {
          int year = Convert.ToInt32(e.Value.ToString());
  
          //...
      }
  }
  </code></pre>