Simplify Session and ViewState Access With a Helper Method and Func<>

added by csurfleet
3/8/2012 8:05:36 AM

3 Kicks, 251 Views

I started thinking of the many uses I’ve found for Action and Func. Cue a mini-series of posts on easy tricks you can do with them! First up – using generics and Func to reduce endless lines of viewstate and session code.