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# 中最好的方法是什么?