Can we access from a compiled class?

 Posted by Chvrsri on 2/10/2012 | Category: ASP.NET Interview questions | Views: 2347 | Points: 40
Answer:

Yes we can access cache from a compiled class. Here is the code to it.

MyVariable=System.Web.HttpContext.Current.Cache("<CacheName>");  

</CacheName>


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response