1
string S = "I am a student";
2
char[] C = new char[] { ' '};
3
string[] n =S.Split(C);
4
int length = S.Length;
5
for (int i =length-1 ; i >=0; i--)
6
{
7
Console.Write(n[i]);
8
if (i != 0)
9
{
10
Console.Write(" ");
11
}
12
}