摘要:
cs ConsoleAppCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--classProgram{staticint[]arr=newint[]{0,1,2,3,4,5,6,7,8,9};staticvoidMain(string[]args){varresult1=arr.Where(newFuncint,bool(Filter));//用Func委托和Filter方法varresult2=arr.Where(delegate(intval 阅读全文