摘要:
1.演变 int k = 10; //1.0 NoParamNoReturn noParamDelegate1 = new NoParamNoReturn(this.NoParam); noParamDelegate1.Invoke(); //2.0 匿名方法,可以访问到 K 值 NoParamNo 阅读全文
摘要:
select ',' + ta.value from ta for xml path; select ','+ value from ta for xml path(''); select * from ta for xml path('row'); select * from ta for xml path(''); 阅读全文
摘要:
1.枚举获取特性,转换值 using System; using System.Reflection; namespace MyAttribute { public static class HelloExtesion { public static string GetStr(this Enum 阅读全文
摘要:
1.枚举获取特性,转换值 using System; using System.Reflection; namespace MyAttribute { public static class HelloExtesion { public static string GetStr(this Enum 阅读全文