随笔分类 - C#
摘要:Console.WriteLine(GetMaxDepth(list));public static int GetMaxDepth(List list, int? id = null) { if (list == null) throw new Excepti...
阅读全文
摘要:var str="abcbababcbababcbababcabcbaba";//主串var ts="bcabcbaba";//子串function BF(s,t){//BF算法 var i=0,j=0,v=-1; while(i=t.length){ ...
阅读全文
摘要:1 SELECT 2 '表名' = e.[name], 3 '表说明' = f.[value], 4 '字段序号' = a.colorder, 5 '字段名' = a.[name], 6 ...
阅读全文
摘要:向某些方法上面加[Obsolete]会让代码提出警告“已过时” [Obsolete]publicstaticintGetAge(){return23; } inti=GetAge();//提示代码已过时Console.WriteLine(i);Console.ReadKey();
阅读全文

浙公网安备 33010602011771号