List of classes in an assembly

前端 未结 5 1393
暗喜
暗喜 2020-12-11 19:24

I\'ve a DLL assembly, in which there are various classes. Each class has around 50-100 members and 4-5 functions. How can I create a list of all the classes and their respec

5条回答
  •  眼角桃花
    2020-12-11 19:58

    See the documentation for System.Reflection.Assembly.GetTypes() and System.Type.GetMembers()

    --larsw

提交回复
热议问题