Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
应该调用 Assembly 类的什么静态方法来保证返回具有应用程序入口点的程序集实例?
你在找Assembly.GetEntryAssembly()吗?
Assembly.GetEntryAssembly()