title: Static variable Behaviour in Asp.Net
body: <p>I have a OperationHelper class which is as follows:</p>
  
  <pre><code>public class OperationHelper
      {
          /// &lt;summary&gt;
          /// Gets or sets the Add Operation value
          /// &lt;/summary&gt;
          public static bool AddOperation { get; set; }
  
          /// &lt;summary&gt;
          /// Gets or sets the Edit Operation value
          /// &lt;/summary&gt;
          public static bool EditOperation { get; set; }
  
          /// &lt;summary&gt;
          /// Gets or sets the Delete Operation value
          /// &lt;/summary&gt;
          public static bool DeleteOperation { get; set; }
  
          /// &lt;summary&gt;
          /// Gets or sets the Select Operation value
          /// &lt;/summary&gt;
          public static bool SelectOperation { get; set; }
      }
  </code></pre>
  
  <p>on each request this values are re-assigned. when i run this locally it works properly.
  but when i published the code some values are not get assigned or not working as it should work.</p>
  
  <p>So want to know the behavior of the static variable in Asp.Net with C#.</p>
  
  <p>are static variable equal to global variable which is accessible to all user? If it is set by user A to true can user B get that value as True or it has different instance of the variable.</p>