Object Properties at Runtime

  • Thread starter Thread starter Jeff Cope
  • Start date Start date
J

Jeff Cope

Delphi we had something called RTTI (runtime type information) that allows a
user to see attributes of an object at runtime such as properties, methods,
etc...Is there something in c# that's similar?

Thanks for your help.
Jeff
 
Jeff Cope said:
Delphi we had something called RTTI (runtime type information) that allows a
user to see attributes of an object at runtime such as properties, methods,
etc...Is there something in c# that's similar?

Yup. It's called Reflection. Take a look at System.reflection namespace.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top