regarding [ThreadStatic()] c#
<p>what is the meaning of [ThreadStatic()]</p>

<p>i got a piece of code and i found <code>[ThreadStatic()]</code>
is used there what does it mean....when to use <code>[ThreadStatic()]</code></p>

<pre><code>public class Context
{
[ThreadStatic()]
private static Context _Context = null;

private HttpContext _HttpContext = null;

public Context()
{
    _HttpContext = HttpContext.Current;
}

public static Context Current
{
    if(_Context == null || 
       _HttpContext != _HttpContext.Current)
    {
        _Context = new Context();
    }
    return _Context;
}
}
</code></pre>
