myclass m_class = new myclass();//具体的数据是存储在类中的
Assembly assembly =m_class.GetType().Assembly;
Type[] types = assembly.GetTypes();
 foreach (var item in types)
{
        Console.WriteLine(item);
}
 Console.ReadKey();

程序编译的时候就会生成程序集 ,就是一些类的对象
获取程序所在的程序集

相关文章:

  • 2021-05-31
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-02
猜你喜欢
  • 2022-12-23
  • 2021-06-13
  • 2022-03-04
  • 2021-07-25
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案