码迷,mamicode.com
首页 >  
搜索关键字:threading    ( 3244个结果
ToList和ToDataTable(其中也有反射的知识)
using System;using System.Collections.Generic;using System.Data;using System.Linq;using System.Reflection;using System.Text;using System.Threading.Tas...
分类:其他好文   时间:2015-06-06 17:59:44    阅读次数:96
HotSpotVM 线程实现浅析
妥妥的,也就是说是由`pthread_create`出来的线程来执行了`Thread.run`方法,`1:1`的线程模型。...
分类:编程语言   时间:2015-06-06 09:10:09    阅读次数:201
7. C#数据结构与算法 -- 存储结构(单链表)
C#定义并实现单链表usingSystem; usingSystem.Collections.Generic; usingSystem.Linq; usingSystem.Text; usingSystem.Threading.Tasks; namespaceLinked { //单链表结点类,采用泛型 publicclassNode<T> { privateTdata;//数据域,当前结点的数据 privateNode<T>ne..
分类:编程语言   时间:2015-06-05 23:01:35    阅读次数:291
6. C#数据结构与算法 -- 非线性结构(图)
图图表示点之间的关系,在C#中通过节点对象的集合来表示点(Vertex),用邻接矩阵(adjacencymatrix)来表示点之间的关系。下面来看C#实现。usingSystem; usingSystem.Collections; usingSystem.Collections.Generic; usingSystem.Linq; usingSystem.Text; usingSystem.Threading.T..
分类:编程语言   时间:2015-06-05 17:57:16    阅读次数:158
代理模式
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace 代理模式{ //追求者的方法 public i...
分类:其他好文   时间:2015-06-05 13:42:08    阅读次数:100
多线程
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApplication1{ class...
分类:编程语言   时间:2015-06-05 11:47:09    阅读次数:153
【原】WPF客户端只能启动一次
public partial class App : Application { System.Threading.Mutex mutex; public App() { this.Startup += new StartupEv...
分类:Windows程序   时间:2015-06-05 00:42:18    阅读次数:191
仓储抽象类演示
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApplication1{ class...
分类:其他好文   时间:2015-06-04 22:27:52    阅读次数:122
System.Threading.ThreadStateException
异常:“System.Threading.ThreadStateException”类型的未经处理的异常在 System.Windows.Forms.dll 中发生  其他信息: 在可以调用 OLE 之前,必须将当前线程设置为单线程单元(STA)模式。请确保您的 Main 函数带有 STAThreadAttribute 标记。  只有将调试器附加到该进程才会引发此异常。 分析:线程间操作...
分类:其他好文   时间:2015-06-04 19:31:59    阅读次数:304
好用的PasswordTextBox.
using System;using System.Collections.Generic;using System.Globalization;using System.Linq;using System.Text;using System.Threading.Tasks;using System...
分类:其他好文   时间:2015-06-04 15:29:50    阅读次数:119
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!