If you want to cache LINQ query results, I recommend that you try Pete Montgomery's solution . It is applicable in ASP.NET, but can be used in a desktop application if replaced HttpRuntime.Cacheby System.Runtime.Caching.MemoryCache.Default.
source
share