十六进制翻转
作者:互联网
public string ReverseA(string text) { char[] cArray = text.ToCharArray(); string reverse = String.Empty; int a = 0; for (int i = cArray.Length - 1; i > 0; i--) { a++; if (a % 2 == 1) { reverse += cArray[i - 1]; reverse += cArray[i]; } } return reverse; }
标签:十六进制,reverse,int,text,cArray,翻转,string 来源: https://www.cnblogs.com/zspwf/p/16434683.html