会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
夜月之光
认真写好每一篇博文(๑•̀ㅂ•́)و✧
博客园
首页
新随笔
联系
订阅
管理
2018年9月4日
C#类的一些基础知识(静态方法可以不用实例化调用)
摘要: 将类成员函数声明为public static无需实例化即可调用类成员函数 using System; namespace ConsoleApp { class Program { static void Main(string[] args) { int num = AddClass.Add(2,
阅读全文
posted @ 2018-09-04 14:23 夜月之光
阅读(1044)
评论(0)
推荐(0)
编辑
公告