会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Gordon_天下
博客园
首页
新随笔
联系
订阅
管理
2011年12月23日
C# 深度解说值传参和引用传参的原理
摘要: 此例子是我在其他园友的帖子上看到的发表一下自己的看法。例子一using System; class Element { public int Number=10; } class Test { static void Change(Element s) { s.Number=100; } static void Main() { Element e=new Element(); Console.WriteLine(e.Number); ...
阅读全文
posted @ 2011-12-23 16:14 Gordon_天下
阅读(1457)
评论(7)
推荐(3)
编辑