title: How to solve Object reference not set to an instance of an object.?
body: <p>In my asp.net program.I set one protected list.And i add a value in list.But it shows Object reference not set to an instance of an object error</p>
  
  <pre><code>protected List&lt;string&gt; list;
  protected void Page_Load(object sender, EventArgs e)
  {
       list.Add("hai");
  }
  </code></pre>
  
  <p>How to solve this error?</p>