Create Class from class name
using System; using System.Reflection; namespace Blog.Framework.Utility { public static class Reflection { public static T CreateClass<T>(string className) { return (T)Activator.CreateInstance(Type.GetType(className)); } } }