I have an Interface called IStep that can do some computation (See ‘Execution in the Kingdom of Nouns‘). At runtime, I want to select the appropriate implementation by class name.
// use like this: IStep step = GetStep(sName);
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Your question is very confusing…
If you want to find types that implement IStep, then do this:
If you know already the name of the required type, just do this