title: C# how to flip a string vertically
body: <p>Is it possible to flip a string vertically in C#, e.g. given</p>
  
  <pre><code>string s= "123456";
  </code></pre>
  
  <p>The result is:<img src="https://i.stack.imgur.com/IBdoJ.png" alt="enter image description here"></p>
  
  <p>I need to assign the resulting string to a string type in C#.</p>
  
  <p>The reason I need the function is that I have a chart that needs to be rotated to meet requirements. Therefore, any texts within the chart have to be rotated.</p>