So I got tired of seeing If Session["SomeKey"] != null… blah blah blah and thought it would be a semi worthwhile task to create a TryParse method because I’m bad like that. Not a Bad Enough Dude to Save the President, but bad. public static Boolean SessionTryParse<K>(HttpSessionState session, String key, out K itemToSet) where K [...]
Tag Archives: TryParse