class Program
    {
        static void Main(string[] args)
        {
           // 输出 ypoc si yek eht
            string str = "the key is copy";
            char[] arr = str.ToCharArray();
            Array.Reverse(arr);
            var result = new string(arr);
           //输出 copy is key the
            string[] ss = str.Split(new string[] { " " }, StringSplitOptions.None);
            var resilt = ss.Reverse();
            var temp = String.Join(" ", resilt);

            Console.WriteLine(temp);
            Console.ReadKey();
        }
    }            

 

相关文章:

  • 2021-05-27
  • 2022-12-23
  • 2022-12-23
  • 2021-12-17
  • 2021-08-22
猜你喜欢
  • 2022-02-19
  • 2022-12-23
  • 2022-02-08
  • 2021-09-22
  • 2021-08-20
  • 2021-12-01
  • 2022-12-23
相关资源
相似解决方案