string centense = "a,b,c,d,e,f,,g";
            string [] names=centense.Split(',');
            string res= names.Aggregate((s1, s2) => s2 + "," + s1);
            Console.WriteLine(res);  //输出 g,,f,e,d,c,b,a

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-06-08
  • 2021-10-26
  • 2021-11-13
  • 2021-10-19
  • 2021-07-09
  • 2021-06-11
猜你喜欢
  • 2022-12-23
  • 2021-05-23
  • 2021-07-02
  • 2021-12-22
  • 2021-06-23
  • 2022-03-09
  • 2021-08-13
相关资源
相似解决方案