In .Net, is the attribute feature used at compile-time or run-time or both? Can you give me some examples?
Attributes are compiled into the code at compile time, but they are often used at runtime as triggers to do things differently.