Hi I have a class that I will be adding lots of attributes onto its properties. It could be about 3 per property. these attributes will be used by a T4 template to determine how to wrap the object in html. eg I could wrap my textbox in a span and that span in a div and give the div a css class.
will my class be heavy?
No, attributes are metadata. They are baked into the assembly at compile time. If there is nothing reading them at runtime you shouldn’t worry about performance or your object being heavy.