如何通过名称获取C#.Net程序集? [英] How to get C#.Net Assembly by name?

查看:131
本文介绍了如何通过名称获取C#.Net程序集?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有类似的东西

AppDomain.CurrentDomain.GetAssemblyByName("TheAssemblyName")

因此,我们不必直接遍历AppDomain.CurrentDomain.GetAssemblies(),而是可以直接获取特定的程序集.

so instead of looping through AppDomain.CurrentDomain.GetAssemblies(), we could just get the specific assembly directly.

推荐答案

您是否尝试过查看 查看全文

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆