日期:2014-05-17 浏览次数:20905 次
string s = "Hello World!"; string result = new string(s.Select(x => new { x, y = Guid.NewGuid().ToString() }).ToList().OrderBy(x => x.y).Select(x => x.x).ToArray()); Console.WriteLine(result);