摘要:
c#中的序列化是指将对象写入流的过程,反序列话是指将对象从流中读取的过程。 protobuf-net: Protobuf是google开源的一个项目,用户数据序列化反序列化,google声称google的数据通信都是用该序列化方法。它比xml格式要少的多,甚至比二进制数据格式也小的多。 Protob 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Text;using System.IO;using ICSharpCode.SharpZipLib;using ICSharpCode.SharpZipLib.Zip;using 阅读全文
摘要:
Process[] processes1 = Process.GetProcessesByName("XXX.exe"); //xxx表示项目名 if (processes1.Length<1) { OpenExe.StartProcess("XXX.exe", Application.Startu 阅读全文
摘要:
关于C#中timer类 在C#里关于定时器类就有3个 1.定义在System.Windows.Forms里 2.定义在System.Threading.Timer类里 3.定义在System.Timers.Timer类里 System.Windows.Forms.Timer是应用于WinForm中的 阅读全文