博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
字典 Key值转换为数组
阅读量:6937 次
发布时间:2019-06-27

本文共 319 字,大约阅读时间需要 1 分钟。

public static string[] GetCategories()    {        Dictionary
itemMap = new Dictionary
(); int count = itemMap.Count; string[] keys = new string[count]; itemMap.Keys.CopyTo( keys, 0 ); return keys; }

 

转载于:https://www.cnblogs.com/dabiaoge/p/4434215.html

你可能感兴趣的文章
rest-work-eat-study-rest-work-eat or rest-rest-work-work-eat-eat..
查看>>
Hadoop-2.2.0中国文献—— Web应用代理
查看>>
iOS开发多线程篇—多线程简单介绍
查看>>
c语言的label后面不能直接跟变量申明
查看>>
log4j配置文件的详解
查看>>
struts2于validate要使用
查看>>
C++11实现模板手柄:委托构造函数、defaultkeyword分析
查看>>
Ignatius and the Princess III(母函数)
查看>>
使用setsid替代nohup
查看>>
筛选法求素数
查看>>
Andorid Async-HttpClient阅览
查看>>
http协议格式
查看>>
测试in和or的执行时间
查看>>
tomcat下iims的配置感悟
查看>>
基于redis的分布式缓存disgear开源到github上了
查看>>
Objective-C:自定义Block函数
查看>>
C与OC、C++的区别
查看>>
Hibernate 1、Hello Hibernate
查看>>
迷宫城堡(强联通targin)
查看>>
FreeRTOS代码剖析
查看>>