title: What is the best way of performing a string concatenation in making a dynamic URL?
body: <p>I am constructing a URL at runtime. So far I have done like</p>
  
  <pre><code>public string BuildURLAndNavigate(CodeType codeType)
  {    
      string vURL = string.Empty; 
  
      string mstrNavServer = "http://some.com/nav";
      vURL = ConcatenateString(mstrNavServer , "/somepage.asp?app=myapp");
  
      //Build Code Type
      switch (codeType)
      {
      case CodeType.Series:
          vURL = ConcatenateString(vURL , "&amp;tools=ser");
          break; 
      case CodeType.DataType:
          vURL = ConcatenateString(vURL , "&amp;tools=dt");
          break;
      }
  
      //build version 
      string VER_NUM = "5.0";
      vURL = ConcatenateString(vURL , ConcatenateString("&amp;vsn=" , VER_NUM));         
      return vURL;
      }
  
      private string ConcatenateString(string expression1, string expression2)
      {
          return string.Concat(expression1 + expression2);
      }
  </code></pre>
  
  <p>But I am not happy with the one I am doing.</p>
  
  <p>I am sure that there is definitely a best practice / better approach than this.</p>
  
  <p>Kindly help me out in guiding for the same.</p>
  
  <p>Thanks</p>