/// <summary> /// 反转字符顺序 /// </summary> /// <param name="str"></param> /// <returns></returns> public static string EncodePassword(string str) { return str.Aggregate("", (current, s) => s + current); }
/// <summary> /// 反转字符顺序 /// </summary> /// <param name="str"></param> /// <returns></returns> public static string EncodePassword(string str) { return str.Aggregate("", (current, s) => s + current); }