摘要:
in 和exists的用法差不多.但是in条件不能有外部条件,如:select *from rp_001 A where exists (select years from RepOrt B where A.repid=20)select *From rp_001 A join RepOrt on A.repid=20;exists 不会筛选出report的数据而join会与report自然连接。 阅读全文
摘要:
//灵活使用别名使代码更加精简。 using ZClass2 = ZClass, string>; class XClass { //泛型方法 public static void MethodA(z param) { Console.Write(param.GetType().ToString()); } } class YClass { public T MethodA() { T t=default(T); return t; ... 阅读全文
摘要:
using Temptest = Temptest; class Program { static void Main(string[] args) { Temptest x = new Temptest(); x.func(); //输出: //ConsoleApplication5.Temptest`1[System.String] Console.Read(); } } class Temptest { ... 阅读全文