码迷,mamicode.com
首页 >  
搜索关键字:threading    ( 3244个结果
EF crud操作
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleAppEF{ class Progra...
分类:其他好文   时间:2014-10-30 22:27:34    阅读次数:156
一个封装不错的 TcpClient 类
using System;using System.Net;using System.Net.Sockets;using System.Text;using System.Threading;namespace RDavey.Net{ public class AsyncTcpClient ...
分类:其他好文   时间:2014-10-30 19:05:43    阅读次数:400
关于线程的,一个金典算法
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;namespace threaddemo{ class Program { ...
分类:编程语言   时间:2014-10-30 15:13:50    阅读次数:209
System.Type类
usingSystem; usingSystem.Collections.Generic; usingSystem.Linq; usingSystem.Text; usingSystem.Threading.Tasks; usingSystem.Reflection; namespaceConsoleApplication1 { classProgram { staticvoidMain(string[]args) { //System.Type类 //=========================获..
分类:其他好文   时间:2014-10-30 02:03:24    阅读次数:166
python写的多线程下载工具
其实只是想练习一下threading的用法。写完后发现其实下载速度也没增加多少,略显尴尬,汗# -*- coding: cp936 -*-import urllib2import threadingimport os,os.pathimport sysimport time,datetimeurl ...
分类:编程语言   时间:2014-10-30 00:04:14    阅读次数:261
python 线程池学习
#!/usr/bin/pythonimportQueue,threading,sysfromthreadingimportThreadimporttime,urllibclassWorker(Thread):worker_count=0def__init__(self,workQueue,resultQueue,timeout=0,**kwds):Thread.__init__(self,**kwds)self.id=Worker.worker_countWorker.worker_count+=1self...
分类:编程语言   时间:2014-10-29 19:43:19    阅读次数:208
Asp.Net服务器控件开发的Grid实现(三)
下面是GridColumnsEditor的实现代码: GridColumnsEditor.cs using System; using System.Collections.Generic; using System.ComponentModel.Design; using System.Linq; using System.Text; using System.Threading.Tas...
分类:Web程序   时间:2014-10-29 19:26:55    阅读次数:148
自动关闭Messbox
/// /// 自动关闭Messbox /// public class MessageBoxAutoClose { System.Threading.Timer _timeoutTimer; string _caption; ...
分类:其他好文   时间:2014-10-29 10:30:30    阅读次数:134
编写自定义特性
===========================Document.csusingSystem; usingSystem.Collections.Generic; usingSystem.Linq; usingSystem.Text; usingSystem.Threading.Tasks; namespaceConsoleApplication2 { [AttributeUsage(AttributeTargets.Property,//该特性能够应用的范围(只能用于属..
分类:其他好文   时间:2014-10-29 02:07:55    阅读次数:189
用C#封装的ServiceStack.redis操作类
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using ServiceStack.Redis;namespace Test...
分类:Windows程序   时间:2014-10-27 22:32:51    阅读次数:3227
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!