02 2018 档案
摘要:1 List s = new List() { "A", "家", "帮", "C", "B", "C", "D", "E" }; 2 3 s = s.OrderByDescending(w => w == "C").ToList(); //.ThenBy(q => q).ToList(); 4 5 6 //result: C,C, A,家,帮,B,...
阅读全文
摘要:1 DirectoryEntry de = new DirectoryEntry("LDAP://10.10.10.10:389"); 2 DirectorySearcher searcher = new DirectorySearcher(de, string.Format("(&(objectClass=user)(samAccountName={0}))", "...
阅读全文

浙公网安备 33010602011771号