sql – C # dynamic class

I would like to create a dynamic class, for example, in a WEB application, I have a button that adds a new element to this class.

    public partial class
{
public int ID {get; together; }
public string ProductName {get; together; }
public channel PreProduct {get; together; }
public string NameFantasy {get; together; }

}

Is it possible to do it at the time of execution?