title: c# check if 2 string includes the same chars
body: <p>I created 3 <code>strings</code>:</p>
  
  <pre><code>string a = "abcdgfg";
  string b = "agbfcd";
  string c = "axcvn";
  </code></pre>
  
  <p>I want to create the following check but i can't find out how:
  Need to check if in <code>string a</code> and <code>string b</code> there are the same latters (never mind the order or if a latter shown more than once, just need to check if the same latter appears on both strings).
  Then i need to do the same check for <code>string a</code> and <code>string c</code>.</p>
  
  <p>as you can see: <code>string a</code> and <code>string b</code> have the same latters, <code>stringa a</code> and <code>string c</code> don't.</p>
  
  <p>after i do the checking i simply print a massage if the strings have the same latter or not</p>
  
  <p>Can anyone show me how to do the cheking?</p>
  
  <p><strong>Edit</strong>:</p>
  
  <p>after check "a" and "c", it o should print the first latter that came up and not match between "a" and "c"</p>
  
  <p>Thanks</p>