title: C# adding string to another string
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/21078/whats-the-best-string-concatenation-method-using-c">What&#39;s the best string concatenation method using C#?</a>  </p>
  </blockquote>
  
  
  
  <p>I have a variable :</p>
  
  <pre><code>string variable1;
  </code></pre>
  
  <p>And I'm trying to make something like this :</p>
  
  <pre><code>for (int i = 0; i &lt; 299; i += 2)
          {
              variable1 = variable1 &amp;&amp; IntToHex(buffer[i]);
          }
  </code></pre>
  
  <p>IntToHex is a string function, so the result of the "IntToHex(buffer[i])" will be string. But it comes up to an error saying I cannot use &amp;&amp;. Is there any solution to add a string to another string? Thanks!</p>