private
void
TestStringChars()
{
string str = "mytest" ;
char [] chars = str.ToCharArray();
this .textBox1.Text = "" ;
this .textBox1.AppendText( "Length of \" mytest\ " is " + str.Length + "\n" );
this .textBox1.AppendText( "Length of char array is " + chars.Length + "\n" );
this .textBox1.AppendText( "char[2] = " + chars[ 2 ] + "\n" );
}
{
string str = "mytest" ;
char [] chars = str.ToCharArray();
this .textBox1.Text = "" ;
this .textBox1.AppendText( "Length of \" mytest\ " is " + str.Length + "\n" );
this .textBox1.AppendText( "Length of char array is " + chars.Length + "\n" );
this .textBox1.AppendText( "char[2] = " + chars[ 2 ] + "\n" );
}