摘要:
Clever response Dave, but insufficient. I'll admit I've suggested this myself for certain questions but I think more is needed here. The OP may run one query where count(*) and count(1) return the same result and have the same performance, but that doesn't mean they always will. Similarl 阅读全文
摘要:
1.定义的委托和方法 delegate void TestDelegate(string s); static void M(string s) { Console.WriteLine(s); }2.常规委托:// Original delegate syntax required // initialization with a named method. TestDelegate testdelA = new TestDelegate(M);3.匿名方法 // C# 2.0: A delegate can be initi... 阅读全文