序列化与反序列化这个可以直接把对象转化为二进制进行存储与通信;
在需要序列化的类前加[Serializable],使用BinaryFormatter类来进行操作;using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
usi...
Dictionary有一种新的遍历方式foreach(KeyValuePair kv in dic){}dictionary练习using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;namespace...
读取本地的json文件:pak:grunt.file.readJSON("package.json");加载包:grunt.loadNpmTask("包名");这样是一个一个的加载,那么如果有多个要写加载多个包名使用 require("load-grunt-tasks")(grunt);会把pack...
分类:
其他好文 时间:
2015-05-26 00:11:08
阅读次数:
157
How do your servers talk to you? Most of us monitor what our servers do, in some way or another. We might use Icinga/Nagios ?for some tasks, or use any of what feels like a myriad different tools ...
分类:
其他好文 时间:
2015-05-25 10:21:25
阅读次数:
419
代码: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace 委托_例子....
代码: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace 委托_例子....
代码: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace 委托 8 ....
代码: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace 委托_例子....
代码: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespac...
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace ...