title: Difference between .ToString and "as string" in C#
body: <p>What is the difference between using the two following statements? It appears to me that the first "as string" is a type cast, while the second ToString is an actual call to a method that converts the input to a string? Just looking for some insight if any.</p>
  
  <pre><code>Page.Theme = Session["SessionTheme"] as string;
  Page.Theme = Session["SessionTheme"].ToString();
  </code></pre>