如何在 C# 中找到 class 的 child?

How to find child of a class in c#?

又来求助了
我想找到一种方法来找到 child of come class 例如,如果我们双击 asRSAP 我们有 children of this class,以其他方式继承 image here

我想我必须使用树视图。我不一定需要答案,而是一种找到的方法,因为我很迷茫 谢谢

我认为反思是您要找的词。在网络上可以找到很多文档,例如 this SO article for instance. Using reflection, you can inspect your code in runtime. Perhaps with some recursive 函数,您可以一直浏览 class 层次结构并找到您要查找的内容。