title: Which is faster - if..else or Select..case?
body: <p>I have three condition to compare. Which one is more faster between the following two? Please point me out. Thanks all! </p>
  
  <pre><code>If var = 1 then
      Command for updating database
  ElseIf var = 2 then
      Command for updating database
  ElseIf var = 3 then
      Command for updating database
  EndIf
  </code></pre>
  
  <p>and</p>
  
  <pre><code>Select Case var
     Case 1
        Command for updating database
     Case 2
        Command for updating database
     Case 3
        Command for updating database
  End Select
  </code></pre>