C#将HashTable中键列表或值列表复制到一维数组的方法

时间:2021-01-21 18:07:24
【文件属性】:
文件名称:C#将HashTable中键列表或值列表复制到一维数组的方法
文件大小:34KB
文件格式:PDF
更新时间:2021-01-21 18:07:24
ab AS ble 本文实例讲述了C#将HashTable中键列表或值列表复制到一维数组的方法。分享给大家供大家参考。具体如下: 下面的示例说明如何将 Hashtable 中键的列表或值的列表复制到一维 Array 中。 using System; using System.Collections; public class SamplesHashtable { public static void Main() { // Creates and initializes the source Hashtable. Hashtable mySourceHT = new Hashtable(); my

网友评论