摘要:
using System;using System.Collections.Generic;using System.Text;using System.Collections;/*** * * 冒泡排序 * * * * **/namespace TestConsole{ class Program { static void Main(string[] args) { int[] array = {32,24 ,21,20,18,3,8,57}; BubbleSort(array); ...
阅读全文
posted @ 2011-09-14 23:37
别人叫我军师
阅读(194)
推荐(0)
编辑
摘要:
using System;using System.Collections.Generic;using System.Text;using System.Collections;namespace TestConsole{ class Program { static ...
阅读全文
posted @ 2011-09-14 22:55
别人叫我军师
阅读(192)
推荐(0)
编辑
摘要:
using System;using System.Collections.Generic;using System.Text;using System.Collections;namespace TestConsole{ class Program { static void Main(string[] args) { Hashtable ht = new Hashtable(); ht.Add("first","One"); ht.Add("second", "Two"); ...
阅读全文
posted @ 2011-09-14 22:46
别人叫我军师
阅读(117)
推荐(0)
编辑
摘要:
using System;using System.Collections.Generic;using System.Text;using System.Collections;namespace TestConsole{ class Program { static void Main(string[] args) { Queue q = new Queue(); Queue q2 = new Queue(); foreach (int i in new int[4] { 1, 2, 3...
阅读全文
posted @ 2011-09-14 22:28
别人叫我军师
阅读(177)
推荐(0)
编辑
摘要:
using System;using System.Collections.Generic;using System.Text;using System.Collections;namespace TestConsole{ class Program { static void Main(string[] args) { Stack sk = new Stack(); Stack sk2 = new Stack(); foreach (int i in new int[4] { 1, 2,...
阅读全文
posted @ 2011-09-14 22:14
别人叫我军师
阅读(142)
推荐(0)
编辑