码迷,mamicode.com
首页 >  
搜索关键字:tasks    ( 2110个结果
C#实现单链表
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace S...
分类:Windows程序   时间:2015-05-17 09:15:46    阅读次数:147
c#的double型精度控制
c#小数精度c#中对于double型的小数如果想保留一定的精度,即小数点位数,可以在转换成字符串的时候,用参数限制;下面的程序演示了这个做法using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks;namespace double...
分类:Windows程序   时间:2015-05-16 20:38:02    阅读次数:783
Learn to Estimate
Learn to EstimateGiovanni AsproniAS A PROGRAMMER, you need to be able to provide estimates to your man- agers, colleagues, and users for the tasks you need to perform, so that they will have a reasonab...
分类:其他好文   时间:2015-05-16 09:07:09    阅读次数:129
委托实现音乐播放器 | 委托实现音乐播放器的缺点 | 事件实现音乐播放器
1,使用委托实现一个音乐播放器的功能呢。(模拟事件) using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace 模拟事件 { /// /...
分类:其他好文   时间:2015-05-16 01:29:53    阅读次数:123
MSMQ小Demo
Demo基于http://www.cnblogs.com/zhili/p/MSMQ.htmlServer代码:using System.Messaging;using System.Text;using System.Threading.Tasks;namespace MSMQServer{ ...
分类:其他好文   时间:2015-05-14 23:40:12    阅读次数:185
14. C# --函数重载
usingSystem; usingSystem.Collections.Generic; usingSystem.Linq; usingSystem.Text; usingSystem.Threading.Tasks; namespaceConsoleApplication1 { classProgram { //函数重载:是指同一个函数名可以对应着多个函数的实现,每个实现对应一个函数体,但是函数的参数类型不同..
分类:Windows程序   时间:2015-05-14 20:50:35    阅读次数:179
15. C# -- 委托
usingSystem; usingSystem.Collections.Generic; usingSystem.Linq; usingSystem.Text; usingSystem.Threading.Tasks; namespaceConsoleApplication1 { //委托:它把引用存储为函数的类型;多用于事件及事件的处理; //委托声明不带函数体;使用delegate关键字;需要知道一个返..
分类:Windows程序   时间:2015-05-14 20:47:34    阅读次数:156
12. C# -- Main()函数
usingSystem; usingSystem.Collections.Generic; usingSystem.Linq; usingSystem.Text; usingSystem.Threading.Tasks; namespaceConsoleApplication1 { classProgram { //Main()是C#应用程序的入口点,执行这个函数就是执行应用程序;在Main()函数中执行完毕,执行过程就结束了..
分类:Windows程序   时间:2015-05-14 12:18:01    阅读次数:172
13. C# --结构函数
usingSystem; usingSystem.Collections.Generic; usingSystem.Linq; usingSystem.Text; usingSystem.Threading.Tasks; namespaceConsoleApplication1 { classProgram { //定义结构函数 structcustomerName { publicstringfirstName,lastName; publicstringname() { returnfirst..
分类:Windows程序   时间:2015-05-14 12:17:33    阅读次数:146
spark streaming优化:spark.default.parallelism调整处理并行度
官方是这么说的:Cluster resources can be under-utilized if the number of parallel tasks used in any stage of the computation is not high enough. For example, ...
分类:其他好文   时间:2015-05-14 11:36:56    阅读次数:359
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!