码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果)
AsyncResult
private static long CalculateFolderSize(string FolderName){ return FolderName.Length;} public delegate long CalculateFolderSizeDelegate(string...
分类:其他好文   时间:2014-05-23 03:35:27    阅读次数:235
java之选择排序
//选择排序(Select Sorting)也是一种简单的排序方法。它的基本思想是:第一次从R[0]-R[n-1]中选取最小值,与R[0]交换,第二次从R[1]-R[n-1]中选取最小值,与R[1]交换,第三次从R[2]-R[n-1]中选取最小值,与R[2]交换,...,第i次从R[i-1]-R[n...
分类:编程语言   时间:2014-05-23 03:20:00    阅读次数:217
元组Tuple
static void Main(string[] args) { /*int i,j; Method1(10,20,out i ,out j ); Console.WriteLine("{0}and{1}", i, ...
分类:其他好文   时间:2014-05-23 03:04:48    阅读次数:276
Reverse Words in a String
Given an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue is sky the". 1 Class Solution{ 2 public: ....
分类:其他好文   时间:2014-05-23 02:59:21    阅读次数:260
java之快速排序
//基本思想是:通过一趟排序将要排序的数据分割成独立的两部分,其中一部分的所有数据都比另外一部分的所有数据都要小,然后再按此方法对这两部数据分别进行快速排序,整个排序过程可以递归进行,以此达到整个数据变成有序序列。public static void main(String []args){ int...
分类:编程语言   时间:2014-05-23 02:47:53    阅读次数:216
java之插入排序
//插入排序(Insertion Sorting)的基本思想是:把n个待排序的元素看成为一个有序表和一个无序表,开始有序表只包含一个元素,无序表中包含有n-1个元素,排序过程中每次从无序表中取出第一个元素,把它的排序码依次与有序表元素的排序码进行比较,将它插入到有序表中的适当位置,使之成为新的有序表...
分类:编程语言   时间:2014-05-23 02:45:56    阅读次数:236
抽象工厂
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace 抽象工厂{ class Program { static void Main(string...
分类:其他好文   时间:2014-05-22 16:29:48    阅读次数:230
LINQ 操作符
using System;using System.Collections.Generic;using System.Text;using System.Linq;namespace LinQ{ class Program { static void Main(string...
分类:其他好文   时间:2014-05-22 16:27:07    阅读次数:241
单例模式
using System;using System.Collections.Generic;using System.Linq;using System.Text;/* * 单例模式 * 保证对象的唯一性 */namespace SingleDemo{ class Program { ...
分类:其他好文   时间:2014-05-22 16:10:25    阅读次数:222
MVC 全局异常过滤器HandleErrorAttribute
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;namespace 过滤器.Filtes{ /// /// 全局异常过滤器 ...
分类:Web程序   时间:2014-05-22 13:54:14    阅读次数:342
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!