Reflection 如何从.dll中提取结构类型名称?

Reflection 如何从.dll中提取结构类型名称?,reflection,c#-3.0,Reflection,C# 3.0,我们可以使用System.Reflection从.dll中提取结构名称吗? 请提供一些链接 struct MyStruct // <-- this name i wanna to find from .dll using Reflection { private int length; private int breadth; public int Area(int length,int breadth) { return length*br

我们可以使用System.Reflection从.dll中提取结构名称吗?
请提供一些链接

struct MyStruct // <-- this name i wanna to find from .dll using Reflection
{
    private int length;
    private int breadth;
    public int Area(int length,int breadth)
    {
        return length*breadth;
    }
}
struct MyStruct/检查链接

检查链接


通过调用该方法,可以从程序集(.dll)获取所有类型的列表。可以从属性访问每个类型的名称。

通过调用该方法,可以从程序集(.dll)获取所有类型的列表。可以从属性访问每个类型的名称。

程序集可以包含“无限”数量的类型。请更具体地说明您的问题。您所说的“结构名称”是什么意思?很抱歉,我已经从其他来源获得了解决方案。ThanksAn程序集可以包含“无限”数量的类型。请更具体地说明您的问题。您所说的“结构名称”是什么意思?对不起,我已经从其他来源获得了解决方案。谢谢