KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Scenario: I have a base class "MyBase". I have a custom attribute "MyAttrib" With that I do this: [MyAttrib(1234)] class MyClass : MyBase() { MyClass() { } } Question: Can I in any way force classes inherting from MyBase to have the attribute MyAttrib?
Tags (comma-separated)
Save Edits
Cancel