C# Need to understand some of the technical (C# 需要懂的一些技术)
1. Anonymous Methods (匿名方法)
//example 1
delegate int MyAnonymityFunction();
private void CommonFunction()
{
MyAnonymityFunction fun = delegate
{
return 7;
}
//anonymi
原创
2012-06-19 10:19:54 ·
522 阅读 ·
0 评论