服务器端using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Net;using System.Net.S...
分类:
其他好文 时间:
2014-07-22 22:56:34
阅读次数:
160
转载自:http://c4fun.cn/blog/2014/05/06/python-threading/python中关于多线程的操作可以使用thread和threading模块来实现,其中thread模块在Py3中已经改名为_thread,不再推荐使用。而threading模块是在thread之...
分类:
编程语言 时间:
2014-07-18 20:16:30
阅读次数:
310
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace demo1{ class Program { static...
分类:
其他好文 时间:
2014-07-18 10:16:30
阅读次数:
188
异步客户端存储示例:using System;using System.Net;using System.Net.Sockets;using System.Threading;using System.Text;// State object for receiving data from remo...
分类:
其他好文 时间:
2014-07-16 12:25:32
阅读次数:
375
------------------------------------StaticDome.csusingSystem;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Text;
usingSystem.Threading.Tasks;
namespaceConsoleApplication3
{
publicclassStaticDome<T>
{
publicstaticintx;
}
}------------..
分类:
其他好文 时间:
2014-07-15 12:17:08
阅读次数:
182
-----------------------------------IDocument.cs(定义一个接口)usingSystem;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Text;
usingSystem.Threading.Tasks;
namespaceConsoleApplication3
{
publicinterfaceIDocument
{
stringTitle{get;set;}//文..
分类:
其他好文 时间:
2014-07-15 11:38:31
阅读次数:
272
============================================================非泛型-------------------------LinkedListNode.cs类usingSystem;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Text;
usingSystem.Threading.Tasks;
namespaceConsoleApplication1
{
publi..
分类:
其他好文 时间:
2014-07-15 11:33:25
阅读次数:
273
1 启动一个独立进程,需要用到的命名空间是:using System.Diagnostics; 进程类是 Process ,进程的相关参数信息类是 ProcessStartInfo 2 等待启动的控制台app代码: using System;using System.Threading;namesp...
分类:
其他好文 时间:
2014-07-14 23:31:56
阅读次数:
235
猜拳游戏:玩家类:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace 猜拳游戏{ public cla...
分类:
Web程序 时间:
2014-07-14 22:50:35
阅读次数:
311
关于C#中timer类 在C#里关于定时器类就有3个 1.定义在System.Windows.Forms里 2.定义在System.Threading.Timer类里 3.定义在System.Timers.Timer类里System.Windows.Forms.Timer是应用于WinForm中的,...
分类:
其他好文 时间:
2014-07-13 19:48:09
阅读次数:
191