本文固定链接:http://www.verydemo.com/demo_c92_i266864.html
注意:Hashtable 按键的正序排列键/值对,默认情况下的遍历GetValues是逆序遍历。
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
namespace HashtableSort
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("+++++++++++对HashTable排序测试+++++++++++");
HashTable htb = new HashTable();
htb.Add(1, "1");
htb.Add(3, "3");
htb.Add(0, "0&#