c# – Reversing words in a string method

I tried using recursion for this.

Here is the code

  public static string ReverseWords(string str)
  {
    var splitArr = str.Split(" ");
    if(splitArr.Length == 1)
      return splitArr(0);
    
    return splitArr(splitArr.Length - 1) + " " + ReverseWords(String.Join(" ", splitArr.Take(splitArr.Length - 1));
  }