今天看极客学院wiki时候看到了out,ref的介绍,之前对这个知识点没有深刻认识,所以就写了个小测试看了下,瞬间明白了。using System;using System.Collections.Generic;using System.Linq;using System.Text;using ....
直接上代码:public static bool httpPost(string url, ref CookieContainer cc, ref string dataToPost, ref string dataget, bool isChangeCookie = false) {...
分类:
Web程序 时间:
2015-11-19 12:48:24
阅读次数:
250
参考文章http://ref.onixs.biz/lost-multicast-packets-troubleshooting.htmlOperating system kernel network buffers tuning操作系统内核网络缓冲区调优LinuxRun thesysctl -A |...
分类:
其他好文 时间:
2015-11-18 23:00:11
阅读次数:
1711
----创建数据1.1、建立表与插入数据CREATETABLEDISTRICT
(
IDNUMBER(10)NOTNULL,
PARENT_IDNUMBER(10),
NAMEVARCHAR2(255BYTE)NOTNULL);ALTERTABLEDISTRICTADD(CONSTRAINTDISTRICT_PKPRIMARYKEY
(ID));ALTERTABLEDISTRICTADD(CONSTRAINTDISTRICT_R01
FOREIGNKEY(PARENT_ID)
REF..
分类:
数据库 时间:
2015-11-18 18:06:56
阅读次数:
266
/// /// 屏蔽Alt+F4 /// /// 要处理的 Windows protected override void WndProc(ref Message m) { const ...
如果你没有添加 GitHub 密钥的话,composer update 会提示你登录: Could?not?fetch?https://api.github.com/repos/RobinHerbots/jquery.inputmask/contents/bower.json?ref=03e65a2d28159e885e18acee9cae53ac...
分类:
其他好文 时间:
2015-11-16 17:49:09
阅读次数:
134
《C++primer》第四版 15.3.1节提到基类到派生类转换(无论ref/poniter or not)的可行性,有些拗口,根据英文版翻译,得到以下几个要点:1.如果是public继承,则用户代码和后代类都可以使用派生类到基类的转换。2.如果类是使用private或protected继承派生的,...
分类:
其他好文 时间:
2015-11-15 17:47:38
阅读次数:
181
#vim/usr/local/apache2/conf/extra/httpd-vhosts.conf编辑配置文件:SetEnvIfNoCaseReferer"^http://.*╲.test╲.com"local_refSetEnvIfNoCaseReferer".*╲.mengjunlinux╲.com"local_ref<filesmatch"╲.(txt|doc|mp3|zip|rar|jpg|gif|js|css)">OrderAllow,DenyAllowfr..
分类:
Web程序 时间:
2015-11-14 23:36:17
阅读次数:
548
ref和out的使用及区别 1. ref的使用:使用ref进行参数的传递时,该参数在创建时,必须设置其初始值,且ref侧重于修改; 2. out的使用: 采用out参数传递时,该参数在创建时,可以不设置初始值,但是在方法中必须初始化,out侧重于输出;注释:当希望方法返回多个值时,可以用out,并且...
分类:
Web程序 时间:
2015-11-14 19:14:36
阅读次数:
279
public void gifplay(string path,ref Panel panel) { try{ Bitmap animatedGif = new Bitmap(path ); Graphics g = p...
分类:
其他好文 时间:
2015-11-13 14:37:04
阅读次数:
253