码迷,mamicode.com
首页 >  
搜索关键字:linq sum    ( 28189个结果
蜗牛—C#程设之DataAdapter对象
使用DataAdapter和DataSet来读取数据表JBQK中的数据 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.SqlClient; using System.Data; namespace shiyan11 { cla...
分类:其他好文   时间:2014-06-05 10:54:20    阅读次数:203
求一堆数组中最大的子数组
成员:周其范20112794 胡宝月20112827上课的时候老师布置了这个题目,初一看这个题目,我们讨论的时候就是在想,应该从第一个数开始,一个一个加,一直加到最后一个数,然后从第二个数开始,一个一个加,加到最后一个,以此类推,在比较的过程中,我们需要比较每加一次的数大小,把每比一次的数赋给sum...
分类:其他好文   时间:2014-06-03 09:53:07    阅读次数:243
C#—委托分析
1.简单委托示例using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace SimpleTest{ class Program { private d...
分类:其他好文   时间:2014-06-03 09:04:42    阅读次数:266
Jquery.linq 使用示例
/*Linq JS*/ //range var aa = Enumerable.range(1, 10).toArray(); var kk = Enumerable.range(1, 10, 3).toArray(); //select kk = Enumerabl...
分类:Web程序   时间:2014-06-03 08:13:47    阅读次数:255
C#生成字母和数字组成的随机文件
代码如下:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Configuration;using System.Collections;using Syste...
分类:其他好文   时间:2014-06-03 07:38:59    阅读次数:208
json的js和C#操作
C#端的WebService接口接收json格式数据,处理后以json格式返回resultusing System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Service...
分类:Web程序   时间:2014-05-31 17:30:19    阅读次数:249
C#自动给文章关键字加链接实现代码
using System;using System.Collections;using System.Collections.Generic;using System.Linq;using System.Text.RegularExpressions;using System.Web;using S...
分类:其他好文   时间:2014-05-31 12:45:40    阅读次数:199
【HDOJ】1394 Minimum Inversion Number
逆序数的性质。1. 暴力解 1 #include 2 3 #define MAXNUM 5005 4 5 int a[MAXNUM]; 6 7 int main() { 8 int n; 9 int i, j, sum, min;10 11 while (scanf(...
分类:其他好文   时间:2014-05-31 07:50:50    阅读次数:170
C# 多线程操作队列
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;using System.Net;using System.Runtime.Interop...
分类:编程语言   时间:2014-05-31 05:59:18    阅读次数:260
Aizu 1335 Equal Sum Sets
DescriptionLet us consider sets of positive integers less than or equal ton. Note that all elements of a set are different. Also note that the order o...
分类:其他好文   时间:2014-05-31 05:12:49    阅读次数:246
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!