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.
在C#中,如果我的项目的输出是一个窗口服务并且它使用了MemoryCache,那么在服务重新启动时,MemoryCache 会被清除吗?
是的,它将被清除,无法在线找到支持我的答案的链接,但我 99% 肯定它确实如此,尝试创建一个可以测试它的场景。
快乐编码!