会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
@gates
这是我的账号老忘记
博客园
首页
新随笔
联系
订阅
管理
2016年1月10日
一些总结
摘要: boxing是什么意思?·················装箱就是把值类型转换成引用类型,反之就是拆箱。 int a=5; string ss=a;装箱 int a2=int.Parse(ss);拆箱哪些是值类型哪些是引用类型?值类型 值类型是在栈中分配内存,在声明时初始化才能使用,不能为nu...
阅读全文
posted @ 2016-01-10 16:01 BestKiller
阅读(185)
评论(0)
推荐(0)
2015年11月10日
javascript控制Panel来实现空间的隐藏与显示
摘要: document.getElementById("panelid").style.display="none";//hiddendocument.getElementById("panelid").style.display="block";//show
阅读全文
posted @ 2015-11-10 19:29 BestKiller
阅读(580)
评论(0)
推荐(0)
2015年11月3日
C# this指针的几种用法 (这个是抄袭)
摘要: C# this指针的几种用法1、限定被相似的名称隐藏的成员C# 代码 复制public class ThisName { public string name = "张三"; public int num = 55; public ThisName() { } ...
阅读全文
posted @ 2015-11-03 21:24 BestKiller
阅读(278)
评论(0)
推荐(0)
集合的创建和初始化
摘要: 对于简单的数组,只有固定的大小来初始化数组,才能使用它。 Animal [] animalArray = new Animal[2];而ArrayList集合不需要初始化大小 ArrayList animalArrayList= new ArrayList();这两家伙初始化也不同,大概是这样:...
阅读全文
posted @ 2015-11-03 15:21 BestKiller
阅读(615)
评论(0)
推荐(0)
2015年11月2日
重置(一个form里的空间瞬间boom sha ka laka)
摘要: 在“重填”按钮属性中的"onclientclick"中输入“javascript:document.forms[0].reset()”
阅读全文
posted @ 2015-11-02 15:23 BestKiller
阅读(124)
评论(0)
推荐(0)
2015年11月1日
来一发 委托C#
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace no1{ delegate int numberChang...
阅读全文
posted @ 2015-11-01 17:57 BestKiller
阅读(139)
评论(0)
推荐(0)
公告