title: c# release optimization unused string
body: <p>Simple question : </p>
  
  <p>Is concatenation of the strings A and B not done at all in a release version in VS20XX?</p>
  
  <pre><code>string A = // Dynamic string
  string B = // Another Dynamic string
  
  DoNothing(A+B);
  ...
  void DoNothing(string MyString)
  {
      #ifdef DEBUG
      // actual code here using MyString
      #endif
  }
  </code></pre>
  
  <p>In case it is not clear, i am trying to create some debug probes, but i don't want the concatenations of the messages to affect the performance of the final version...</p>