title: How can I get this C# console swap cipher working?
body: <p>If I wanted to make an app in C# console with VS2010 how could I make it where I input text and then it will do a 101010101010 swap?</p>
  
  <p>lPyare1 = Player1</p>
  
  <p>This is currently what I have:</p>
  
  <pre><code>    static void Main()
      {
          Console.WriteLine("Enter String Here:");
          //
          // Swap characters in the string.
          //
          string value1 = Console.ReadLine();
          string swap1 = SwapCharacters(value1, 0, 1);
          Console.WriteLine(swap1);
          Console.ReadKey();
      }
  </code></pre>