码迷,mamicode.com
首页 >  
搜索关键字:threading    ( 3244个结果
.Net 多线程编程由浅入深知识梳理
1.Using System.Threading; 多线程就是一个包工头,让手底下的十个工人去搬砖头的事儿。 ------------不带任何传入参数的Thread2.ThreadStart ts = new ThreadStart(某线程A的Func); Thread th = new Thre....
分类:编程语言   时间:2015-01-28 14:29:41    阅读次数:170
设计模式系列之-工厂方法
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using DPC.Domain;namespace DPC.CreateMo...
分类:其他好文   时间:2015-01-27 16:15:59    阅读次数:189
设计模式系列之-简单工厂
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using DPC.Domain;namespace DPC.CreateMo...
分类:其他好文   时间:2015-01-27 16:14:52    阅读次数:140
设计模式系列之-抽象工厂
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using DPC.Domain;namespace DPC.CreateMo...
分类:其他好文   时间:2015-01-27 16:14:45    阅读次数:152
设计模式系列之-装饰模式
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;//装饰模式Demonamespace DisCountApplication...
分类:其他好文   时间:2015-01-27 16:13:42    阅读次数:138
SearchHelper
using System;using System.Collections.Generic;using System.Text;using log4net;using System.Threading;using DTcms.Common;using Lucene.Net.Store;using S...
分类:其他好文   时间:2015-01-27 12:52:58    阅读次数:251
C#线程系列讲座(2):Thread类的应用
一、 Thread类的基本用法通过System.Threading.Thread类可以开始新的线程,并在线程堆栈中运行静态或实例方法。可以通过Thread类的的构造方法传递一个无参数,并且不返回值(返回void)的委托(ThreadStart),这个委托的定义如下:[ComVisibleAttrib...
分类:编程语言   时间:2015-01-27 12:49:54    阅读次数:192
C#---Mandelbrot---ShinePans
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Mandelbrot { class Program { static void Main(string[] ar...
分类:Windows程序   时间:2015-01-25 22:38:33    阅读次数:330
[Win10]1 WPF和WP8 Silverlight中的导航问题
一、Frame、Page框架的相关介绍1、Frame类:继承层次结构System.ObjectSystem.Windows.Threading.DispatcherObjectSystem.Windows.DependencyObjectSystem.Windows.Media.VisualSyst...
分类:Windows程序   时间:2015-01-24 22:44:58    阅读次数:255
线程池
usingSystem; usingSystem.Collections.Generic; usingSystem.Linq; usingSystem.Text; usingSystem.Threading.Tasks; usingSystem.Threading; namespaceConsoleApplication5 { classProgram { staticvoidMain(string[]args) { inta; intb; ThreadPool.GetMaxThreads(outa,outb..
分类:编程语言   时间:2015-01-24 18:52:09    阅读次数:196
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!