i am creating instance of class by using Activator in c# mvc. but i have to add attribute for example
[required]
dynamically to the instance. so how can i do it.
i am creating instance of class by using Activator in c# mvc. but i have to add attribute for example
[required]
dynamically to the instance. so how can i do it.