会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Gallen!
You can't leave this world to the people you despise.
博客园
首页
新随笔
联系
订阅
管理
2016年5月17日
c#中get set 的使用
摘要: 在早期学习c#的过程中,经常遇到这样的语句: public string StudentName { get{return stuName;} set{stuName=value;} } 当时也不是很明白为什么要这样?学深了c#后,又没法对其做一个总结。今天看了《Visual c#.net程序设计教
阅读全文
posted @ 2016-05-17 19:01 Ga_N
阅读(85446)
评论(1)
推荐(2)
编辑
公告