会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
luytest
博客园
首页
新随笔
联系
管理
订阅
2021年3月29日
Linq 1 扩展方法
摘要: 当我们在不想或不能去修改类的源代码的情况下,又要去增加新的方法时,可以用扩展方法。 class Program { static void Main(string[] args) { int r = 0; GetNum getNum = new GetNum(); r = getNum.Add(1,
阅读全文
posted @ 2021-03-29 22:37 luytest
阅读(48)
评论(0)
推荐(0)
编辑
公告