码迷,mamicode.com
首页 >  
搜索关键字:linq to objects    ( 10076个结果
System.Speech.Synthesis 添加暂停、继续功能
为了方便调用暂停、继续的方法。要将speech的功能写成一个类。直接附上代码: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Speech.Synthesis; ...
分类:其他好文   时间:2014-07-09 18:44:34    阅读次数:1183
Winform读取文档。然后创建,奇数行保存一个文档,偶数行保存一个文档
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u...
分类:Windows程序   时间:2014-07-09 17:40:26    阅读次数:264
有两数组A、B,长度分别为m、n。用不超过m+n的比较次数找到两个数组中的相同元素
今天碰到一道笔试题:有两数组A、B,长度分别为m、n。用不超过m+n的比较次数找到两个数组中的相同元素。当时没做出来,我现在给出C#版本,算是弥补一点遗憾。using System;using System.Collections.Generic;using System.Linq;using Sy...
分类:其他好文   时间:2014-07-08 22:59:43    阅读次数:247
C# 基础之飞行棋
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace 飞行棋{ class Program { //地图 //0代表普通方块□ ...
分类:其他好文   时间:2014-07-08 21:57:27    阅读次数:168
php之foreach遍历数组
foreach (PHP 4, PHP 5) The foreach construct provides an easy way to iterate over arrays. foreach works only on arrays and objects, and will issue an error when you try to use it on a variable w...
分类:Web程序   时间:2014-07-08 19:52:38    阅读次数:291
Linux共享对象之编译参数fPIC
最近在看Linux编程的基础知识,打算对一些比较有趣的知识做一些汇总备忘,本文围绕fPIC展开,学习参考见文末。 在Linux系统中,动态链接文件称为动态共享对象(DSO,Dynamic Shared Objects),简称共享对象,一般是以.so为扩展名的文件。在Windows系统中,则称为...
分类:系统相关   时间:2014-07-08 19:00:18    阅读次数:236
u-boot分析
Bootloader:u-boot.2009.08分析与移植 4.1:分析u-boot根目录下的Makefile,可以看到uboot编译的顺序如下,由此可知编译执行的第一个文件是cpu/$(CPU)/start.o,又由于是基于arm920t架构的,所以去分析cpu/arm920t/start.S源文件。 # U-Boot objects....order is important (i.e....
分类:其他好文   时间:2014-07-08 15:34:46    阅读次数:151
switch case ,while, do while,enum
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace C_编辑基础 { //枚举的意义就是限定变量的取值范围 enum gender{Male,Female,Unkown}; //声明一个类型,它是枚举类型(定义一个枚举),这个枚举有三个值。...
分类:其他好文   时间:2014-07-08 13:38:36    阅读次数:191
c#值类型,引用练习,ref,out
usingSystem; usingSystem.Collections.Generic; usingSystem.Linq; usingSystem.Text; usingSystem.Threading.Tasks; namespaceConsoleApplication1 { classProgram { staticvoidMain(string[]args) { inti=10;//值类型 intj=10;//必须初始化 intk;//不需要初始化 int[]iarr={..
分类:其他好文   时间:2014-07-08 09:42:06    阅读次数:221
子类如果不实例化则不会调用它自身的静态构造函数
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication6{ class Program { static v...
分类:其他好文   时间:2014-07-08 00:44:25    阅读次数:340
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!