阅读背景:

遍历c#中的对象树

来源:互联网 

I have a tree that consists of several objects where each object has a name (string), id (int) and possibly an array of children, that are of the same type. How do I go through the entire tree and print out all of the ids and names?I have a tree that consists of several objects




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: