This is harder to find in the docs than I imagined. Anyway, I have some instances of Type
. How can I find out if they represent classes, methods, interfaces, etc?
class Bla { ... } typeof(Bla).GetKindOrWhatever() // need to get something like "Class"
(I'm using Mono on Linux but that shouldn't affect the question, I'm making portable code)