title: How do I use my Session variable in an if statement as an integer?
body: <p>I have a Session that stores an int.  I usually do the following...</p>
  
  <pre><code>if(Session["test"] == null)
  </code></pre>
  
  <p>Now that I am comparing... </p>
  
  <pre><code>public ActionResult NumbersGame(int myNum)
  {
  if(Session["test"] != myNum)...
  </code></pre>
  
  <p>How do I do that?</p>