string str= "nihaabcde"; char[] arr = str.ToCharArray(); Array.Reverse(arr); str= new string(arr);
Powered by: 博客园 Copyright © 2024 管志鹏 Powered by .NET 9.0 on Kubernetes