Guest User

Untitled

a guest
Oct 27th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. QWERTY12345 YU
  2. QWER TY4564 F
  3. QWERGH145
  4. QWER T777
  5. QWE RBT
  6.  
  7. public static string CommonString(string first, string second)
  8. {
  9. return new string((first.Intersect(second)).ToArray());
  10. }
Add Comment
Please, Sign In to add comment