Example #1
0
        public static NestedDictionary <string, string> GetDebugInfo(this HttpSessionState nameObjectCollectionBase)
        {
            var retval = new NestedDictionary <string, string>();

            nameObjectCollectionBase.Cast <object>().ForEach(key =>
                                                             retval[key.ToString()].Value = nameObjectCollectionBase[key.ToString()].ToString());
            return(retval);
        }