Advertisement
IanosStefanCristian

4. Shuffle the name

Mar 9th, 2021
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. using System.Linq;
  2. public class Program
  3. {
  4. public static string NameShuffle(string str)
  5. {
  6. return string.Join(" ", str.Split(' ').Reverse());
  7. }
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement