KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Sorry, I am looking up the System.Type type and the PropertyInfo type in the documentation but I can't seem to find the thing I need. How do I tell if a property (or method or any other member) was declared virtual in its declaring class? For e.g. class Cat { public string Name { get; set; } public virtual int Age { get; set; } } How do I tell if the Age property was declared virtual or not?
Tags (comma-separated)
Save Edits
Cancel