摘要:
1、委托1)委托是一种数据类型,可以声明委托数据类型委托是一种指向方法的数据类型2)声明委托的方式 delegate 返回值类型 委托类型名称(参数) 比如: delegate void mydel(int n)3)注意这里除了前面的delegate以外,剩下的部分和声明一个函数是一样的,但是myd 阅读全文
posted @ 2020-09-06 14:13
hangxing.pang
阅读(133)
评论(0)
推荐(0)
摘要:
1、索引器public string this[index]{get{ // todo:}set{ //todo}}2、密封类和静态类以及扩展方法密封类:关键字seal 不能有子类静态方法:关键字static 不能new,无法创建子类 只能声明static成员扩展方法:在静态类中,写一个静态方法,对 阅读全文
posted @ 2020-09-06 14:12
hangxing.pang
阅读(185)
评论(0)
推荐(0)
摘要:
https://github.com/dotnetcore/Magicodes.IE 阅读全文
posted @ 2020-09-06 14:08
hangxing.pang
阅读(127)
评论(0)
推荐(0)
摘要:
1.华为https://mirrors.huaweicloud.com/2.腾讯https://mirrors.cloud.tencent.com/3.阿里https://developer.aliyun.com/mirror/4.网易https://mirrors.163.com/5.东北大学ht 阅读全文
posted @ 2020-09-06 14:05
hangxing.pang
阅读(476)
评论(0)
推荐(0)
摘要:
//方法A:HttpClient(首选) using System.Net.Http; private static readonly HttpClient client = new HttpClient(); //POST ar values = new Dictionary<string, st 阅读全文
posted @ 2020-09-06 14:04
hangxing.pang
阅读(1874)
评论(0)
推荐(0)
摘要:
http://ajaxuploader.com/document/index.htm?page=html/How-to-save-uploaded-file.htm 阅读全文
posted @ 2020-09-06 13:54
hangxing.pang
阅读(37)
评论(0)
推荐(0)
摘要:
1.对查询进行优化,要尽量避免全表扫描,首先应考虑在 where 及 order by 涉及的列上建立索引。 2.应尽量避免在 where 子句中对字段进行 null 值判断,否则将导致引擎放弃使用索引而进行全表扫描,如:select id from t where num is null可以在nu 阅读全文
posted @ 2020-09-06 13:50
hangxing.pang
阅读(124)
评论(0)
推荐(0)
摘要:
public static string GetMacAddress() { try { string strMac = string.Empty; ManagementClass mc = new ManagementClass("Win32_NetworkAdapterConfiguration 阅读全文
posted @ 2020-09-06 13:47
hangxing.pang
阅读(213)
评论(0)
推荐(0)
摘要:
流利的FTP github地址:https://github.com/robinrodricks/FluentFTP 一、使用原因 对于ftp,自己本身是不熟悉的。第一次听说这个名词还是在嘉兴项目上,有个老哥要做FTP的上传,但是当时这块功能不是我做的。后来在当前公司,由于业务的扩大,mes中的图片 阅读全文
posted @ 2020-09-06 09:56
hangxing.pang
阅读(8295)
评论(0)
推荐(1)

浙公网安备 33010602011771号