CacheHelper.CacheMinutes = 10; CacheHelper.CacheData(key, data);
var cachedData = CacheHelper.GetCachedData(key);
CacheHelper.ClearCache();This code clears all data from the cache, including data that has not yet expired. The CacheHelper class is part of the .NET Framework and does not require a separate package or library.