no need for a demo project , just copy the function and paste to your application to use.
this carries out the same function as strReverse does in VB.
VB Code:
  1. [COLOR=Blue]private void[/COLOR] button1_Click([COLOR=Blue]object[/COLOR] sender, System.EventArgs e)
  2.         {
  3.             MessageBox.Show(StringReverse("test 123"));
  4.         }
  5.  
  6.         [COLOR=Blue]private string[/COLOR] StringReverse([COLOR=Blue]string[/COLOR] ToReverse)
  7.         {
  8.             Array arr = ToReverse.ToCharArray();
  9.             Array.Reverse( arr ); [COLOR=Green]// reverse the string[/COLOR]
  10.             [COLOR=Blue]char[/COLOR][] c = ([COLOR=Blue]char[/COLOR][])arr;
  11.             [COLOR=Blue]byte[/COLOR][] b = System.Text.Encoding.Default.GetBytes(c);
  12.             [COLOR=Blue]return[/COLOR] System.Text.Encoding.Default.GetString(b);
  13.         }