I want to avoid using the specific type (forgort how I did it before)
var obj = new List<Category>(); obj = (List<Category>)EasyCache.Instance.Item(cacheKey)
Something like: obj = (obj.GetType()???)EasyCache.Instance.Item(cacheKey)
Aucun commentaire:
Enregistrer un commentaire