public void char_repeat(string s2)
{
//create an arrary to capture letters in the word of
//int n1 = Int32.Parse(s2.Length);
int n1 = s2.Length;
char [] catch_word = new char[n1];
char [] catch_half = new char[(n1/2)];
Console.WriteLine("Length of the word you entered : " + n1);
//copy the word to character array
s2.CopyTo(0,catch_word,0,n1);
string x1, x2, x3 ;
x3 = "Full Length " ;
for (int i =0; i<catch_word.Length; i++)
x3 += catch_word[i];
Console.WriteLine(x3);
//capture half length
s2.CopyTo(0,catch_half,0,(n1/2));
x2 = "Half Length " ;
for (int i =0; i<catch_half.Length; i++)
x2 += catch_half[i];
Console.WriteLine(x2);
}