摘要:
【01】【名称】Aggregate<>【描述】对应用序列累加函数【用法】代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--stringsentence="thequickbrownfoxjumpsoverthelazydog";stri... 阅读全文
posted @ 2010-11-09 17:45
Bruce T
阅读(230)
评论(0)
推荐(0)
摘要:
1.须知首先让我们理解下如何定义一个匿名函数 例如事件this.Closed += delegate(object sender, EventArgs e) { MessageBox.Show("窗体已经关闭了"); };首先关闭事件的事件是带有object sender, EventArgs e 两个参数的委托,我们也可以使用Lambda表达式进行编写.this.Closed+=(sender,... 阅读全文
posted @ 2010-11-09 16:14
Bruce T
阅读(163)
评论(0)
推荐(0)

浙公网安备 33010602011771号