HttpSessionState as parameter

Posted by HeavyWave on Stack Overflow See other posts from Stack Overflow or by HeavyWave
Published on 2010-03-24T04:04:56Z Indexed on 2010/03/24 4:13 UTC
Read the original article Hit count: 270

Filed under:
|

What is the highest class in the hierarchy I can use to pass HttpSessionState as a parameter and add values to it?

For instance to a method like

public void MyMethod(IDictionary<string, object> input)
{
    input.Add("something", something);
}

I see that implements ICollection and IEnumerable, but that only allows me to read values, not add them.

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET