title: I am doing a palindrome check in C# and I do not know why it is not working
body: <p>I have turned the integer into a string and reversed it, but when I run it, it keeps returning the wrong answer. </p>
  
  <pre><code>var x = 121;
  var numba = x.ToString();
  char[] strArray = numba.ToCharArray();
  Array.Reverse(strArray);
  
  StringBuilder newString = new StringBuilder();
  StringBuilder newString2 = new StringBuilder();
  
  foreach(var item in strArray)
  {
      newString.Append(item);
  }
  
  foreach(var item in numba.ToCharArray())
  {
      newString2.Append(item);
  }        
  
  Console.WriteLine(newString);            
  Console.WriteLine(newString2);
  
  if(newString == newString2)
  {
      Console.WriteLine("true");
  }
  else 
  {
      Console.WriteLine("false");
  }
  </code></pre>
  
  <p>It is both printing 121. However, it is not returning <code>true</code>? is this some sort of edge case with <code>StringBuilder</code>?</p>