1 using System; 2 using
System.Collections.Generic; 3 using System.Text; 4 using System.IO; 5 using
System.Diagnostics; 6 7 namespace Utility...
分类:
其他好文 时间:
2014-05-17 00:50:37
阅读次数:
249
using System; using System.Collections.Generic;
using System.Data; using System.Data.Common; using System.Reflection; /// ///
实体阅读器类,可以从DataTa...
分类:
其他好文 时间:
2014-05-17 00:20:57
阅读次数:
341
using System;using
System.Collections.Generic;using System.Linq;using System.Text;using
Microsoft.Office.Interop.Excel;namespace Reuters.ProcessQualit...
分类:
其他好文 时间:
2014-05-16 19:54:35
阅读次数:
286
所属命名空间:using System.Collections.Generic; List类是
ArrayList 类的泛型等效类。 该类使用大小可按需动态增加的数组实现 IList 泛型接口。泛型的好处: 它为使用
c#语言编写面向对象程序增加了极大的效力和灵活性。不会强行对值类型进行装箱和拆箱,...
分类:
其他好文 时间:
2014-05-16 19:39:12
阅读次数:
346
control.ascx using System;using
System.Collections.Generic;using System.Linq;using System.Web;using
System.Web.UI;using System.Web.UI.WebControls...
分类:
Web程序 时间:
2014-05-16 08:36:25
阅读次数:
362
最近学习数据结构,发现c# 其实和c 的链表的实现差不多的下面是一段可直接运行的代码 1
using System; 2 using System.Collections.Generic; 3 using System.Text; 4 using
System.Threading; 5 ...
分类:
其他好文 时间:
2014-05-16 06:24:02
阅读次数:
663
辗转相除,又名欧几里德算法(Euclidean
algorithm)乃求两个正整数之最大公约数的算法。此处用函数的递归调用编写了一个小程序:int gcd(int a,int b){ if(a%b==0)
return b; else return gcd(b,a%b)...
分类:
其他好文 时间:
2014-05-14 10:20:27
阅读次数:
241
using System;using System.Collections.Generic;using
System.Text;using System.Data;using System.Xml;using System.IO;using
System.Web;namespace Utility{...
分类:
Web程序 时间:
2014-05-14 09:54:50
阅读次数:
324
原题:
Say you have an array for which the ith element is the price of a given stock on day i.
If you were only permitted to complete at most one transaction (ie, buy one and sell one share of th...
分类:
其他好文 时间:
2014-05-13 14:12:41
阅读次数:
342
1、使用FileStream读写文件文件头:using System; using
System.Collections.Generic; using System.Text; using System.IO; 读文件核心代码: byte[]
byData = new byte[100]; char...
分类:
其他好文 时间:
2014-05-13 10:57:52
阅读次数:
262