title: Is it bad practice to change the value of a static variable?
body: <p>I have a static string variable which i need to change possibly depending on the HTTP protocol.</p>
  
  <p>Is it bad practice to change the static string variable></p>
  
  <pre><code>static string QuoteWebServiceUrl = CommonFunctions.ReadAppSetting("QuoteWebServiceUrl");
  
  if(url == "https")
  {
    QuoteWebServiceUrl = CommonFunctions.ReadAppSetting("QuoteWebServiceUrlSecure");
  }
  else
  {
    QuoteWebServiceUrl = CommonFunctions.ReadAppSetting("QuoteWebServiceUrl");
  }
  </code></pre>
  
  <p>Thanks</p>