如何在C Sharp中创建(Java树形图) [英] How to create (java tree map) in C Sharp

查看:105
本文介绍了如何在C Sharp中创建(Java树形图)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在C#中创建(Java树形图)?

How to create (java tree map) in C#?

推荐答案

您正在寻找的是Dictionary(尽管我不认为排序是其内置功能之一).但是,您基本上可以实现相同的事情,但是可以创建一个从List派生的对象(该对象确实具有排序功能,但没有内置的键/值管理).

从JSOP中编辑===============================

这里没有人会为您编写代码.摆脱懒惰的屁股,成为一名程序员.
What you''re looking for is a Dictionary (although I don''t think sorting is one of its built-in capabilities). You could, however achieve essentially the same thing but creating an object derived from a List (which does have the sorting, but not the built-in key/value management).

EDIT FROM JSOP ================================

Nobody here is going to write code for you. Get off your lazy ass and be a programmer.


这篇关于如何在C Sharp中创建(Java树形图)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆