title: Remove C# attribute of a property dynamically
body: <p>I have a class with a set of properties As given below.</p>
  
  <pre><code>class ContactInfo
  {
      [ReadOnly(true)]
      [Category("Contact Info")]
      public string Mobile { get; set; }
  
      [Category("Contact Info")]
      public string Name{ get; set; }
  }
  </code></pre>
  
  <p>The objects of this class is being assigned to a property grid, so that the users can <strong>update an existing contact</strong>. you can see that Mobile is marked as ReadOnly.</p>
  
  <p>But, when I want to add an <strong>entirely new Contact</strong>, I would want the users to be able to edit the contact Mobile also. For that I need to <strong>remove the Readonly property dynamically</strong> from the Type, before assigning the object to the property grid. Is it possible?</p>