title: what's the use of string.Clone()?
body: <p>there are 2  examples of code:
   # 1</p>
  
  <pre><code> string str1 = "hello";
   string str2 = str1; //reference to the same string
   str1 = "bye"; //new string created
  </code></pre>
  
  <p>and # 2</p>
  
  <pre><code>string str3 = "hello";
  string str4 = (string)str3.Clone();//reference to the same string
  str3 = "bye";//new string created
  </code></pre>
  
  <p>looks like they are identical aren't they? so what is the benefit to use Clone()? can you give me an example when I cannot use code#1 but code#2 ?</p>