Using Delete Method

Get Data

Get method is used to retrieve item Product:1001.
This item has previously been added to the cache. Get method returns general
object which needs to be cast accordingly. If a key does not exist in cache, null
value is returned.