My input IVIN S RAJ how to display that input in following format IVIN RAJ S.

string name = "IVIN S RAJ";

string[] str=name.Split(' ');

Console.WriteLine("" + str[2] + "" + str[0] + "" + str[1]);