C# .NET - How to create dynamic class object to call method using Interface without Reflectionmethod

Asked By Sivanesh Vanmeeganathan on 18-May-17 08:09 AM
How to create dynamic class object to call method using Interface and Class name without Reflection method.

By using below example, i want to create object using Interface and class name (as string).
I tried to create using reflection method. But, my company wants to create without using reflection.

For Example:
public interface IParsable
    {
        string test(string sampleText);
    }

    public class First : IParsable
    {
        public string test(string sampleText)
        {
            return sampleText;
        }
    }

    public class Second : IParsable
    {
        public string test(string sampleText)
        {
            return sampleText;
        }
    }