title: how to assign value to readonly static field
body: <p>I have a field which is static and readonly. The requirement is that the value should be allocated to the field at the login time and after that it should be readonly. How can i achieve this ?</p>
  
  <pre><code>  public static class Constant
      {
          public static readonly string name;                
  
      }
  </code></pre>
  
  <p>Kindly guide.</p>