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.
如果.Net中的Invoke在同一个线程上工作,并且阻塞了调用线程,我们为什么要使用invoke?我们不能直接调用方法而不是使用调用吗?是否有任何特定场景应该使用调用?
Invoke当您不知道在编译时要执行哪个方法时很有用。
Invoke