111,097
社区成员




var candiates = "123456";
var ret = from a in candiates.ToCharArray()
from b in candiates.ToCharArray()
where candiates.IndexOf(b) > candiates.IndexOf(a)
select new string(new char[] { a, b });
ret.ToList().ForEach(s =>
{
Console.WriteLine(s);
});