title: Is there a function that swaps two variables in a string?
body: <p>So we have to have code that swaps the integers in a two-digit number, such as "43" being "34". The user inputs a random two digit number and that number must be swapped.</p>
  
  <p>I am not sure how to separate or mess with the two digit number that the user inputs into the console, so I have not had much luck in doing this.</p>
  
  <pre><code>static void Main(string[] args)
  {
      Console.WriteLine("Please enter a two-digit integer");
      string input = Console.ReadLine();
      int number = Convert.ToInt32(input);
      Console.ReadKey();
  }
  </code></pre>