access a method of a class instantiated using Reflection

Posted by ZX12R on Stack Overflow See other posts from Stack Overflow or by ZX12R
Published on 2010-03-30T09:07:37Z Indexed on 2010/03/30 9:13 UTC
Read the original article Hit count: 254

Filed under:

I am trying to do dynamic instantiating using strings rather than strongly typed names.

So the obvious choice was to use Reflection.

It is working fine. The class has a method. How am supposed to access this method using the object returned by the CreateInstance method?

thanks in advance

© Stack Overflow or respective owner

Related posts about ASP.NET