Reverse word of full sentence
<p>I want to print string in reverse format, my input is "My name is Archit Patel" &amp; i need output in this way "Patel Archit is name My".
I've try but it display "letaP tihcrA si eman ym". I need the above format how will i do it. Could you please send me the code of this program.</p>

<p>i do this </p>

<pre><code> public static string ReverseString(string s)
    {
    char[] arr = s.ToCharArray();
    Array.Reverse(arr);
    return new string(arr);
    }
</code></pre>
