Click here to Skip to main content
15,891,607 members
Articles / Programming Languages / C#

A Generic Factory Method-Create Object From Interface Parameter using Reflection

Rate me:
Please Sign up or sign in to vote.
4.38/5 (6 votes)
14 Oct 2013CPOL2 min read 16.9K   92   3  
I will demonstrate a generic factory method which will create object from interface type parameter from an assembly (either current or provided) with the help of reflection

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect
Bangladesh Bangladesh
How do I describe myself to you? How can I explain that this is true?
I am who I am because of you! My work I love you !!

Comments and Discussions