title: Replacing string value in 2d array
body: <p>I'm trying to replace a string value in a 2d array and tried this codes below but nothing is happening</p>
  
  <pre><code>foreach (string item in Arr)
  {
      if (UserInput.Equals(item))
      {
          item.Replace(UserInput, "X ");
      }
  }
  </code></pre>
  
  <p>and the same goes for this codes nothing is happening...</p>
  
  <pre><code>Console.WriteLine("Select a seat that you want to ocupy");
  string ln = Console.ReadLine();
  
  if (ln.Equals(Arr))
  {
      ln = ln.Replace(ln, "X ");
  }
  </code></pre>