title: Button Tag Property
body: <pre><code>foreach (Control c in this.Controls)
  {
     if (c is Button)
     {
        Button b = (Button)c;
        if (b.Tag.Equals("submit") &amp;&amp; b.Tag.Equals("save"))
        {
           b.Visible = false;
        }
     }
  }
  </code></pre>
  
  <p>I m trying to hide these to tag property button other will be show on form load here is my code its not working. but error show "Object Reference not set an............"</p>