C#C
C#3y ago
Suiram1

Set a class attribute result with a custom attribute

Hi, I'm trying to create a custom attribute that applies to class attributes of type string and ensures that when you read the value of this class attribute, it always returns a specific string. Is this somehow feasible?
Was this page helpful?