void revers(string str)
{
string str1 = string.Empty;
for (int i = str.Length - 1; i >= 0; i--)
{
str1 += str[i];
}
MessageBox.Show(str1);
}