Class and acessibility problem c# & asp.net
<p>i have small class like</p>

<pre><code>public static class TSM
{

    static string TokenID = "";

    public static string GetTSM()
    {
        TokenID = new Guid().ToString();
        return TokenID;
    }

}

`GetTokenID `will return a string
</code></pre>

<p>i just call GetTokenID from my aspx page like</p>

<pre><code>&lt;script language="javascript" type="text/javascript"&gt;
    var token= &lt;% =TSM.GetTSM() %&gt;;
</code></pre>

<p></p>

<p>i am getting error when i am running that aspx page.</p>

<h2>the error is</h2>

<p>Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.</p>

<p>Compiler Error Message: CS1002: ; expected</p>

<p>please guide me what is going wrong. thanks</p>
