
C#
白天不懂夜的黑
这个作者很懒,什么都没留下…
展开
-
C#创建Window服务
using System; using System.Threading; using System.ServiceProcess; using System.Collections; using System.Configuration.Install; using System.Diagnostics; using Sys转载 2011-11-17 11:17:55 · 652 阅读 · 0 评论 -
利用WMI获取磁盘信息
需要引用System.Management;转载 2011-11-17 16:06:39 · 741 阅读 · 0 评论 -
简单链表与泛型的效率测试
class Program { static Node GetSingleList(int length) { Node root = null; for (int i = 0; i < length; i++) { root = new Node { N原创 2011-05-13 12:27:00 · 469 阅读 · 0 评论 -
Linq查询[Where]
class QueryVMethodSyntax{ static void Main() { int[] numbers = { 5, 10, 8, 3, 6, 12}; //Query syntax: IEnumerableint> numQuery1 = from num in num原创 2011-05-13 11:44:00 · 409 阅读 · 0 评论 -
Oracle批量数据导入
//记录数 int recc = models.Count; string[] PHONE = new string[recc]; string[] STATUS = new string[recc]; string[] PROVINCE = new string[recc];原创 2011-10-21 16:26:44 · 2377 阅读 · 2 评论 -
获取文件md5值
public class Filemd5 { /// /// 实现对一个文件md5的读取,path为文件路径 /// /// /// public string Getmd5_hash(string path)原创 2011-12-11 00:34:15 · 633 阅读 · 0 评论 -
异步调用函数
public delegate int AddDelegate(int a, int b); public static AddDelegate addMethod;原创 2014-09-02 12:27:27 · 535 阅读 · 0 评论